1
0
Fork 0

Update deps

This commit is contained in:
Daniel Kempkens 2023-11-25 13:48:18 +01:00
parent f07e20dd44
commit 82dd79ab1b
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 69 additions and 62 deletions

View file

@ -244,11 +244,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700695018, "lastModified": 1700847865,
"narHash": "sha256-MAiPLgBF4GLzSOlhnPCDWkWW5CDx4i7ApIYaR+TwTVg=", "narHash": "sha256-uWaOIemGl9LF813MW0AEgCBpKwFo2t1Wv3BZc6e5Frw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "134deb46abd5d0889d913b8509413f6f38b0811e", "rev": "8cedd63eede4c22deb192f1721dd67e7460e1ebe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -287,11 +287,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1700751952, "lastModified": 1700914107,
"narHash": "sha256-BliTb/KMnXmnMDaOI5g2iDOxjyf+gGQbuTbu2h2QC5Q=", "narHash": "sha256-oIM9LTjiV0pmgiJwMD1mEm20KsXGUIrSkvZgBYVXZic=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "b514edcdf4747b2ebf00a97f89f310d6d4f090f5", "rev": "0da62b579fbd3a21c7ab808f1bb10263d469a1e9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -312,11 +312,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700754329, "lastModified": 1700916297,
"narHash": "sha256-3/Q+TULTG7OSYSicLqEiWGaNeyORpjT99VnpISYQTfc=", "narHash": "sha256-+DXUTK9PQFR0qBt2oW7L5/nUkcjBfzwXq0ZLbGi9IjE=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "22088d188af6e6bad330eb817e1e78a789e5f407", "rev": "5616cb369dc363f6534a4bc96bbb34312ee35c27",
"revCount": 595, "revCount": 596,
"type": "git", "type": "git",
"url": "https://git.kempkens.io/daniel/nix-overlay" "url": "https://git.kempkens.io/daniel/nix-overlay"
}, },
@ -332,11 +332,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700732776, "lastModified": 1700795494,
"narHash": "sha256-Q4hhnBVg4EVaqCQb9R84oGJNDqLg0KK9FY2LbCL0oV8=", "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "c465a67a54aa34cf2883536c97d4e856fa4a373d", "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -363,11 +363,11 @@
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1700641131, "lastModified": 1700867874,
"narHash": "sha256-M3bsoVMQM2PcuBWb6n1KDNeMX87svcSj/4qlBcVqs3k=", "narHash": "sha256-0Dk63BLiG9rmfBf8LxFpz8KgpUkepehVzhhVDgfxWSo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "da41de71f62bf7fb989a04e39629b8adbf8aa8b5", "rev": "1b99d72c8b7468def0c633635c469bf828db33a0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -379,11 +379,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1700538105, "lastModified": 1700856099,
"narHash": "sha256-uZhOCmwv8VupEmPZm3erbr9XXmyg7K67Ul3+Rx2XMe0=", "narHash": "sha256-RnEA7iJ36Ay9jI0WwP+/y4zjEhmeN6Cjs9VOFBH7eVQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "51a01a7e5515b469886c120e38db325c96694c2f", "rev": "0bd59c54ef06bc34eca01e37d689f5e46b3fe2f1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,12 +1,14 @@
(import-macros {: highlight-get-field} :../macros/cmd)
(let [mod {} (let [mod {}
api vim.api api vim.api
heirline-utils (require :heirline.utils) heirline-utils (require :heirline.utils)
colors (. (require :nifoc.theme) :colors) colors (. (require :nifoc.theme) :colors)
statusline (require :nifoc.statusline) statusline (require :nifoc.statusline)
fg-active (. (heirline-utils.get_highlight :TabLineSel) :fg) fg-active (highlight-get-field :TabLineSel :fg)
fg-inactive (. (heirline-utils.get_highlight :TabLine) :fg) fg-inactive (highlight-get-field :TabLine :fg)
bg-active (. (heirline-utils.get_highlight :TabLineSel) :bg) bg-active (highlight-get-field :TabLineSel :bg)
bg-inactive (. (heirline-utils.get_highlight :TabLine) :bg)] bg-inactive (highlight-get-field :TabLine :bg)]
;; Utils ;; Utils
(set mod.space (set mod.space
{:provider " " {:provider " "

View file

@ -1,7 +1,10 @@
(let [cmp (require :cmp) (let [cmp (require :cmp)
luasnip (require :luasnip) luasnip (require :luasnip)
lspkind (require :lspkind) lspkind (require :lspkind)
npairs (require :nvim-autopairs.completion.cmp)] npairs (require :nvim-autopairs.completion.cmp)
maybe-tabnine (if (pcall require :cmp_tabnine.config)
[{:name :cmp_tabnine}]
[])]
(fn has-words-before? [] (fn has-words-before? []
(let [(line col) (-> 0 (vim.api.nvim_win_get_cursor) (unpack))] (let [(line col) (-> 0 (vim.api.nvim_win_get_cursor) (unpack))]
(if (not= col 0) (if (not= col 0)
@ -21,13 +24,14 @@
(luasnip.jumpable -1) (luasnip.jump -1) (luasnip.jumpable -1) (luasnip.jump -1)
(fallback))) (fallback)))
(cmp.setup {:sources (cmp.config.sources [{:name :nvim_lsp} (cmp.setup {:sources (cmp.config.sources (vim.list_extend [{:name :nvim_lsp}
{:name :luasnip} {:name :luasnip}
{:name :cmp_tabnine}
{:name :treesitter {:name :treesitter
:keyword_length 3} :keyword_length 3}
{:name :buffer :keyword_length 3} {:name :buffer
{:name :async_path}]) :keyword_length 3}
{:name :async_path}]
maybe-tabnine))
:mapping (cmp.mapping.preset.insert {:<C-e> (cmp.mapping {:i (cmp.mapping.abort) :mapping (cmp.mapping.preset.insert {:<C-e> (cmp.mapping {:i (cmp.mapping.abort)
:c (cmp.mapping.close)}) :c (cmp.mapping.close)})
:<esc> (cmp.mapping {:i (cmp.mapping.abort)}) :<esc> (cmp.mapping {:i (cmp.mapping.abort)})

View file

@ -237,7 +237,6 @@ in
cmp-buffer cmp-buffer
cmp-cmdline cmp-cmdline
cmp-nvim-lsp-document-symbol cmp-nvim-lsp-document-symbol
pkgs.vimPlugins.cmp-tabnine
# Formatting # Formatting
@ -315,6 +314,8 @@ in
config = builtins.readFile ../../config/nvim/plugins/fidget.fnl; config = builtins.readFile ../../config/nvim/plugins/fidget.fnl;
type = "fennel"; type = "fennel";
} }
] ++ optionals isDarwin [
pkgs.vimPlugins.cmp-tabnine
]; ];
}; };

View file

@ -18,23 +18,23 @@ in
}; };
plenary-nvim = buildVimPlugin { plenary-nvim = buildVimPlugin {
pname = "plenary.nvim"; pname = "plenary.nvim";
version = "2023-10-11"; version = "2023-11-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-lua"; owner = "nvim-lua";
repo = "plenary.nvim"; repo = "plenary.nvim";
rev = "50012918b2fc8357b87cff2a7f7f0446e47da174"; rev = "366b0837486f60ae0e7550c15de8ff66d057c4cd";
sha256 = "1sn7vpsbwpyndsjyxb4af8fvz4sfhlbavvw6jjsv3h18sdvkh7nd"; sha256 = "18jza11q0zyqwxjr42hal7hf5zv075zxm0kvhn7lg0f2hlcrb40w";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
mini-nvim = buildVimPlugin { mini-nvim = buildVimPlugin {
pname = "mini.nvim"; pname = "mini.nvim";
version = "2023-11-20"; version = "2023-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "echasnovski"; owner = "echasnovski";
repo = "mini.nvim"; repo = "mini.nvim";
rev = "05f4a49cd85a67b90328a1bcbae4d9ed2a0a417b"; rev = "baf17e6472b0968661dce5daa372251e934da39f";
sha256 = "1m1z451p8bx5x9cal3a1yy3a28sjp7pmsisrfgsy2vckkxqf8m05"; sha256 = "1icagypgcdqsiz1p4m8kan8wdbjgxcz4qa415rplyrx9rxbpp4rl";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -62,12 +62,12 @@ in
}; };
yanky-nvim = buildVimPlugin { yanky-nvim = buildVimPlugin {
pname = "yanky.nvim"; pname = "yanky.nvim";
version = "2023-11-23"; version = "2023-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gbprod"; owner = "gbprod";
repo = "yanky.nvim"; repo = "yanky.nvim";
rev = "631b44d4129b04f9b3e87e4a29627504d350eba4"; rev = "5ba331de8a8d18e1ec345d26e865bc3a0db2e8be";
sha256 = "0p5bj24zlsgn8fkxqfjh9hkzhhdw5cf1gjkzqm4sg6qhbxz1a2n6"; sha256 = "0zv322rybvky8qkzrrbc2nsrh6rfq7awnwlh9ydkkpkm63nphzl8";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -106,12 +106,12 @@ in
}; };
nvim-treesitter = buildVimPlugin { nvim-treesitter = buildVimPlugin {
pname = "nvim-treesitter"; pname = "nvim-treesitter";
version = "2023-11-23"; version = "2023-11-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter"; repo = "nvim-treesitter";
rev = "71bdf97bf6dafc776ad957169533f2f669a8c562"; rev = "d8a71826a20dfc9ed3d8a43e28a00611a302b456";
sha256 = "0y8scsr8xy02cnwjr0fddn62f2fv74qash6aspnfdfp3b400v2qm"; sha256 = "1lc43vij0li4dwpbylvxksk7ls4vzv0wwhx8p9rnlgglc3idbvr1";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -128,12 +128,12 @@ in
}; };
rainbow-delimiters-nvim = buildVimPlugin { rainbow-delimiters-nvim = buildVimPlugin {
pname = "rainbow-delimiters.nvim"; pname = "rainbow-delimiters.nvim";
version = "2023-11-22"; version = "2023-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "HiPhish"; owner = "HiPhish";
repo = "rainbow-delimiters.nvim"; repo = "rainbow-delimiters.nvim";
rev = "7f3cfa07f243261a0428d782bef6496929e9dcd8"; rev = "fdd507455a10c3841027c04ab33012d24d5b2c92";
sha256 = "18dmkf04315rna28pzxps8idph4a33w6nypdazwm0g2h0dvlhv2l"; sha256 = "0sxw3kfln3f0yiv7sqzph7al19ri4m92mz0cjca3470m9zmz7lnc";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -186,12 +186,12 @@ in
}; };
telescope-ui-select-nvim = buildVimPlugin { telescope-ui-select-nvim = buildVimPlugin {
pname = "telescope-ui-select.nvim"; pname = "telescope-ui-select.nvim";
version = "2023-11-08"; version = "2023-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-telescope"; owner = "nvim-telescope";
repo = "telescope-ui-select.nvim"; repo = "telescope-ui-select.nvim";
rev = "0fc69ebbf178631b8ab76745459fade062156ec5"; rev = "c261d903a78c2cda47a5e44488621f10f9dd7fcf";
sha256 = "16ri6gxy4pgjf2rxxnd6p0i1ibaz08sd31n2v40n6y84is2nywrd"; sha256 = "13clvq5zhhf6msawjsf42bja0avhngzzq0c0v5jfv2qzpdgbl5k2";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -285,12 +285,12 @@ in
}; };
LuaSnip = buildVimPlugin { LuaSnip = buildVimPlugin {
pname = "LuaSnip"; pname = "LuaSnip";
version = "2023-11-20"; version = "2023-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "L3MON4D3"; owner = "L3MON4D3";
repo = "LuaSnip"; repo = "LuaSnip";
rev = "cab667e2674881001a86a7478fff7dc7791c63f5"; rev = "df58ee1664cfda71479cd2bbd56114f56599eba6";
sha256 = "10ij1bd3rdbyc87rlnq89h59gxmz6kfpq4wqbdhy9cml996ixpkp"; sha256 = "08sgnd2s3glz21akby0g7w41ggb8wcfcx5jcbd1kg3ac5dc59cx9";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -373,12 +373,12 @@ in
}; };
conform-nvim = buildVimPlugin { conform-nvim = buildVimPlugin {
pname = "conform.nvim"; pname = "conform.nvim";
version = "2023-11-21"; version = "2023-11-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stevearc"; owner = "stevearc";
repo = "conform.nvim"; repo = "conform.nvim";
rev = "a5df96556c4c895777bf53177a8704b9b3e884e1"; rev = "cbc510ca5b4aec1fd104b6c6f070a7fcf36cc0c8";
sha256 = "0qg0mcy7i00p93vqycq1nx7svfn758a3qy30lkwgkydvz4g8nhzg"; sha256 = "1329gqbgwrcql56ymmfsanh7fc84ddy7rqklhplivkkgd8xdrphk";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -395,12 +395,12 @@ in
}; };
vim-matchup = buildVimPlugin { vim-matchup = buildVimPlugin {
pname = "vim-matchup"; pname = "vim-matchup";
version = "2023-11-05"; version = "2023-11-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "andymass"; owner = "andymass";
repo = "vim-matchup"; repo = "vim-matchup";
rev = "d30b72d20f01478a8486f15a57c89fe3177373db"; rev = "269f9bea87e20a01438085eb13df539929a12727";
sha256 = "0zlficdwybcz8mvzv70vp4mkzrwpmvp3v0dq88fyimyajyxi1aqp"; sha256 = "0ca3fhdr6pp77z72lxlhlkzi1ng713nfzvyywmq8a31z8j2vkh87";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -417,12 +417,12 @@ in
}; };
oil-nvim = buildVimPlugin { oil-nvim = buildVimPlugin {
pname = "oil.nvim"; pname = "oil.nvim";
version = "2023-11-20"; version = "2023-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stevearc"; owner = "stevearc";
repo = "oil.nvim"; repo = "oil.nvim";
rev = "05cb8257cb9257144e63f41ccfe5a41ba3d1003c"; rev = "e89a8f8adeef2dfab851fd056d38ee7afc97c249";
sha256 = "0y2lfdx75d418jdypp1yg3sdmr88csb4z3p1dnxnggx4xk1yghrx"; sha256 = "1f5201yb7kqbggn0dgpl9p5mnxdxg6ffpfmzih7rzzkp4fhn2vb4";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };