nvim: enable inlay hints + toggling
This commit is contained in:
parent
5c319ac288
commit
aed9af6f45
6 changed files with 110 additions and 31 deletions
home/common/nvim
|
@ -50,7 +50,6 @@
|
|||
plugins = with pkgs.vimPlugins; [
|
||||
friendly-snippets
|
||||
go-nvim
|
||||
rustaceanvim
|
||||
targets-vim
|
||||
ts-comments-nvim
|
||||
|
||||
|
@ -116,6 +115,23 @@
|
|||
'';
|
||||
}
|
||||
|
||||
{
|
||||
plugin = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "inlay-hints";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "MysticalDevil";
|
||||
repo = "inlay-hints.nvim";
|
||||
rev = "af84dee42cd118af6d592b06c1c0e45d6432a6c0"; # 2024-08-23
|
||||
hash = "sha256-DZVtFAUK9c8GInp+JdCQ1BKe0dkAheHKI67oxdMmA24=";
|
||||
};
|
||||
};
|
||||
type = "lua";
|
||||
config = ''
|
||||
require('inlay-hints').setup()
|
||||
require("inlay-hints.utils").enable_inlay_hints()
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
plugin = codeium-nvim;
|
||||
type = "lua";
|
||||
|
@ -185,6 +201,12 @@
|
|||
type = "lua";
|
||||
config = lib.fileContents ./mini.lua;
|
||||
}
|
||||
|
||||
{
|
||||
plugin = rustaceanvim;
|
||||
type = "lua";
|
||||
config = lib.fileContents ./rust.lua;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue