home: vim: add 'which-key-nvim'
This commit is contained in:
parent
8b985cda84
commit
fa836d7df9
|
@ -68,6 +68,9 @@ in
|
||||||
null-ls-nvim # LSP integration for linters and formatters
|
null-ls-nvim # LSP integration for linters and formatters
|
||||||
(nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars)) # Better highlighting
|
(nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars)) # Better highlighting
|
||||||
plenary-nvim # 'null-ls' dependency
|
plenary-nvim # 'null-ls' dependency
|
||||||
|
|
||||||
|
# UX improvements
|
||||||
|
which-key-nvim # Show available mappings
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = builtins.readFile ./init.vim;
|
extraConfig = builtins.readFile ./init.vim;
|
||||||
|
|
4
home/vim/plugin/settings/which-key.vim
Normal file
4
home/vim/plugin/settings/which-key.vim
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
lua << EOF
|
||||||
|
local wk = require("which-key")
|
||||||
|
wk.setup()
|
||||||
|
EOF
|
Loading…
Reference in a new issue