Compare commits
No commits in common. "494bd5cad1b3a3eb96c8c19c86c259ceb03d9caf" and "be8780d846b7d5ae5a62c23994404151169d5b14" have entirely different histories.
494bd5cad1
...
be8780d846
2 changed files with 24 additions and 6 deletions
|
@ -90,15 +90,14 @@
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "MysticalDevil";
|
owner = "MysticalDevil";
|
||||||
repo = "inlay-hints.nvim";
|
repo = "inlay-hints.nvim";
|
||||||
rev = "3259b54f3b954b4d8260f3ee49ceabe978ea5636";
|
rev = "af84dee42cd118af6d592b06c1c0e45d6432a6c0"; # 2024-08-23
|
||||||
hash = "sha256-99KCGoPowa4PA1jkCm4ZbbgrFl84NWnKQMgkfy8KS5E=";
|
hash = "sha256-DZVtFAUK9c8GInp+JdCQ1BKe0dkAheHKI67oxdMmA24=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ''
|
config = ''
|
||||||
require('inlay-hints').setup {
|
require('inlay-hints').setup()
|
||||||
autocmd = { enable = false },
|
require("inlay-hints.utils").enable_inlay_hints()
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,6 +111,26 @@
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# {
|
||||||
|
# plugin = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
# name = "neocodeium";
|
||||||
|
# src = pkgs.fetchFromGitHub {
|
||||||
|
# owner = "monkoose";
|
||||||
|
# repo = "neocodeium";
|
||||||
|
# rev = "4da81528468b33585c411f31eb390dce573ccb14"; # v1.8.0
|
||||||
|
# hash = "sha256-1n9nNqBNwNDSzbAkm8eB4HZLNy5HmMg25jPwQAnW5OU=";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# type = "lua";
|
||||||
|
# config = ''
|
||||||
|
# local neocodeium =require('neocodeium')
|
||||||
|
# neocodeium.setup()
|
||||||
|
# vim.keymap.set("i", "<C-j>", neocodeium.accept, { remap = true })
|
||||||
|
# vim.keymap.set("i", "<A-f>", neocodeium.accept, { remap = true })
|
||||||
|
# vim.keymap.set("i", "<C-h>", neocodeium.cycle_or_complete, { remap = true })
|
||||||
|
# '';
|
||||||
|
# }
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = pkgs.vimUtils.buildVimPlugin {
|
plugin = pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "diagflow";
|
name = "diagflow";
|
||||||
|
|
|
@ -155,5 +155,4 @@ vim.keymap.set("n", "<Leader>ub", function()
|
||||||
vim.o.background = (vim.o.background == "light" and "dark" or "light")
|
vim.o.background = (vim.o.background == "light" and "dark" or "light")
|
||||||
end, opts("Toggle dark/light background"))
|
end, opts("Toggle dark/light background"))
|
||||||
vim.keymap.set("n", "<Leader>uh", "<cmd>InlayHintsToggle<cr>", opts("Toggle inlay hints"))
|
vim.keymap.set("n", "<Leader>uh", "<cmd>InlayHintsToggle<cr>", opts("Toggle inlay hints"))
|
||||||
vim.keymap.set("n", "<Leader>uw","<cmd>set invwrap<cr>", opts("Toggle line wrapping"))
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue