home: vim: add 'which-key-nvim'

This commit is contained in:
Bruno BELANYI 2022-02-26 13:51:34 +01:00
parent 8b985cda84
commit fa836d7df9
2 changed files with 7 additions and 0 deletions

View file

@ -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;

View file

@ -0,0 +1,4 @@
lua << EOF
local wk = require("which-key")
wk.setup()
EOF