Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aliases #214

Merged
merged 2 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[bumpversion]
current_version = 0.1.211
current_version = 0.1.212
34 changes: 17 additions & 17 deletions nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"conform.nvim": {
"branch": "master",
"commit": "9180320205d250429f0f80e073326c674e2a7149"
"commit": "70019124aa4f2e6838be9fbd2007f6d13b27a96d"
},
"dial.nvim": {
"branch": "master",
Expand All @@ -53,15 +53,15 @@
},
"fzf-lua": {
"branch": "main",
"commit": "c054a21cd22cef41c62ce96247040abccaab8dbc"
"commit": "60428a8dc931639ee5e88756b2d7bc896cdc20c7"
},
"gitsigns.nvim": {
"branch": "main",
"commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412"
},
"inc-rename.nvim": {
"branch": "main",
"commit": "f4e13df6e2d0b3177a7305dbc1cc7f7ea44b94f1"
"commit": "4d00cd5029e99f176128bc37ef245e2dd348191d"
},
"indent-blankline.nvim": {
"branch": "master",
Expand All @@ -73,7 +73,7 @@
},
"lazy.nvim": {
"branch": "main",
"commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3"
"commit": "72aa3a2624be5dc240646084f7b6a38eb99eb2ce"
},
"lazydev.nvim": {
"branch": "main",
Expand All @@ -93,15 +93,15 @@
},
"luasnip": {
"branch": "master",
"commit": "33b06d72d220aa56a7ce80a0dd6f06c70cd82b9d"
"commit": "c9b9a22904c97d0eb69ccb9bab76037838326817"
},
"marks.nvim": {
"branch": "master",
"commit": "bb25ae3f65f504379e3d08c8a02560b76eaf91e8"
},
"mason-lspconfig.nvim": {
"branch": "main",
"commit": "c6c686781f9841d855bf1b926e10aa5e19430a38"
"commit": "97d9f1d3ad205dece6bcafd1d71cf1507608f3c7"
},
"mason-tool-installer.nvim": {
"branch": "main",
Expand All @@ -125,11 +125,11 @@
},
"nvim-bqf": {
"branch": "main",
"commit": "68d3c20f6bee49105dcfde3df1f7ec972529f2a3"
"commit": "ebb6d2689e4427452180f17c53f29f7e460236f1"
},
"nvim-cmp": {
"branch": "main",
"commit": "b555203ce4bd7ff6192e759af3362f9d217e8c89"
"commit": "5a9ad0d88b3982ce7c67bfef8d805f8aafc88385"
},
"nvim-colorizer.lua": {
"branch": "master",
Expand All @@ -149,11 +149,11 @@
},
"nvim-lint": {
"branch": "master",
"commit": "6b46370d02cd001509a765591a3ffc481b538794"
"commit": "dfa45de973c3ce7bd1b9a6d346f896a68ad07e44"
},
"nvim-lspconfig": {
"branch": "master",
"commit": "8b15a1a597a59f4f5306fad9adfe99454feab743"
"commit": "8121483b8132b7053120fafd83728178fb3febf6"
},
"nvim-neoclip.lua": {
"branch": "main",
Expand All @@ -177,31 +177,31 @@
},
"nvim-treesitter": {
"branch": "master",
"commit": "c47d8d27d047634d00a07ca80a1b694624743b38"
"commit": "958af94dd8d74071c72c9d6840b41d06ea436b2f"
},
"nvim-treesitter-context": {
"branch": "master",
"commit": "2bcf700b59bc92850ca83a1c02e86ba832e0fae0"
"commit": "f1f106bac81c1ae5c971c52d3548d757fa4056b3"
},
"nvim-treesitter-textobjects": {
"branch": "master",
"commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595"
},
"nvim-various-textobjs": {
"branch": "main",
"commit": "d3ccc9896e8fd81063196352426f78c5085a13a3"
"commit": "b43a13448c3c3a4fca027595f7b6fc3522758e00"
},
"nvim-web-devicons": {
"branch": "master",
"commit": "4adeeaa7a32d46cf3b5833341358c797304f950a"
"commit": "5740b7382429d20b6ed0bbdb0694185af9507d44"
},
"plenary.nvim": {
"branch": "master",
"commit": "2d9b06177a975543726ce5c73fca176cedbffe9d"
},
"rainbow-delimiters.nvim": {
"branch": "master",
"commit": "77e5bad54227dcfe3878ffbda88ab1efdaacb475"
"commit": "8f7af53581302dc2b25cdfb67a45983a5a2c3f09"
},
"sort.nvim": {
"branch": "main",
Expand All @@ -221,7 +221,7 @@
},
"tokyonight.nvim": {
"branch": "main",
"commit": "45d22cf0e1b93476d3b6d362d720412b3d34465c"
"commit": "7bb270adaa7692c2c33befc35f5567fc596a2504"
},
"trouble.nvim": {
"branch": "main",
Expand Down Expand Up @@ -261,7 +261,7 @@
},
"which-key.nvim": {
"branch": "main",
"commit": "8ab96b38a2530eacba5be717f52e04601eb59326"
"commit": "1f8d414f61e0b05958c342df9b6a4c89ce268766"
},
"wildfire.nvim": {
"branch": "master",
Expand Down
26 changes: 13 additions & 13 deletions nvim/lua/snippets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ ls.add_snippets("python", {
s("it-accumulate", { t({ "from itertools import accumulate", "" }) }),
s("it-chain", { t({ "from itertools import chain", "" }) }),
s("it-count", { t({ "from itertools import count", "" }) }),
s("it-cycle", { t({ "from itertools import cycle", "" }) }),
s("it-groupby", { t({ "from itertools import groupby", "" }) }),
s("it-product", { t({ "from itertools import product", "" }) }),
s("it-starmap", { t({ "from itertools import starmap", "" }) }),
Expand Down Expand Up @@ -191,18 +192,15 @@ ls.add_snippets("python", {
s("a0", { t({ "from rich.pretty import pretty_repr", "", "assert 0, pretty_repr(locals(), max_length=5)" }) }),
s("mo", { t({ "@mark.only", "" }) }),
s("mmo", { t({ "marks=mark.only", "" }) }),
s("ms", { t({ "@mark.skip", "" }) }),
s("mx", { t({ "@mark.xfail", "" }) }),
s("mark-only", { t({ "@mark.only", "" }) }),
s("mark-parametrize", {
s("mp", {
t({ '@mark.parametrize("' }),
i(1, "arg1"),
t({ '", [param(' }),
i(2, "param1"),
t(")], ids=str)"),
t(")])"),
}),
s("mark-skip", { t({ "@mark.skip", "" }) }),
s("mark-xfail", { t({ "@mark.xfail", "" }) }),
s("ms", { t({ "@mark.skip", "" }) }),
s("mx", { t({ "@mark.xfail", "" }) }),
s("py-approx", { t({ "from pytest import approx", "" }) }),
s("py-fixture", { t({ "from pytest import fixture", "" }) }),
s("py-mark", { t({ "from pytest import mark, param", "" }) }),
Expand Down Expand Up @@ -322,12 +320,12 @@ ls.add_snippets("python", {
s("ut-check-polars-dataframe", { t({ "from utilities.polars import check_polars_dataframe", "" }) }),
s("ut-date-to-datetime", { t({ "from utilities.datetime import date_to_datetime", "" }) }),
s("ut-duration", { t({ "from utilities.types import Duration", "" }) }),
s("ut-ensure-date", { t({ "from utilities.types import ensure_date", "" }) }),
s("ut-ensure-float", { t({ "from utilities.types import ensure_float", "" }) }),
s("ut-ensure-int", { t({ "from utilities.types import ensure_int", "" }) }),
s("ut-ensure-member", { t({ "from utilities.types import ensure_member", "" }) }),
s("ut-ensure-not-none", { t({ "from utilities.types import ensure_not_none", "" }) }),
s("ut-ensure-number", { t({ "from utilities.types import ensure_number", "" }) }),
s("ut-ensure-date", { t({ "from utilities.functions import ensure_date", "" }) }),
s("ut-ensure-float", { t({ "from utilities.functions import ensure_float", "" }) }),
s("ut-ensure-int", { t({ "from utilities.functions import ensure_int", "" }) }),
s("ut-ensure-member", { t({ "from utilities.functions import ensure_member", "" }) }),
s("ut-ensure-not-none", { t({ "from utilities.functions import ensure_not_none", "" }) }),
s("ut-ensure-number", { t({ "from utilities.functions import ensure_number", "" }) }),
s("ut-ensure-str", { t({ "from utilities.text import ensure_str", "" }) }),
s("ut-extract-group", { t({ "from utilities.re import extract_group", "" }) }),
s("ut-extract-groups", { t({ "from utilities.re import extract_groups", "" }) }),
Expand All @@ -346,12 +344,14 @@ ls.add_snippets("python", {
s("ut-lists-fixed-length", { t({ "from utilities.hypothesis import lists_fixed_length", "" }) }),
s("ut-log-level", { t({ "from utilities.logging import LogLevel", "" }) }),
s("ut-minute", { t({ "from utilities.datetime import MINUTE", "" }) }),
s("ut-number", { t({ "from utilities.types import Number", "" }) }),
s("ut-one", { t({ "from utilities.iterables import one", "" }) }),
s("ut-one-empty-error", { t({ "from utilities.iterables import OneEmptyError", "" }) }),
s("ut-one-non-unique-error", { t({ "from utilities.iterables import OneNonUniqueError", "" }) }),
s("ut-parse-date", { t({ "from utilities.whenever import parse_date", "" }) }),
s("ut-partial", { t({ "from utilities.functools import partial", "" }) }),
s("ut-path-like", { t({ "from utilities.pathlib import PathLike", "" }) }),
s("ut-period", { t({ "from utilities.period import Period", "" }) }),
s("ut-read-pickle", { t({ "from utilities.pickle import read_pickle", "" }) }),
s("ut-replace-non-sentinel", { t({ "from utilities.dataclasses import replace_non_sentinel", "" }) }),
s("ut-repr-without-defaults", { t({ "from utilities.dataclasses import repr_without_defaults", "" }) }),
Expand Down