diff --git a/modules/vim/default.nix b/modules/vim/default.nix index c06e0d8..846a6b3 100644 --- a/modules/vim/default.nix +++ b/modules/vim/default.nix @@ -9,6 +9,8 @@ packages.sconfig.start = with pkgs.vimPlugins; [ airline bufferline-nvim + coc-nvim + coc-tsserver nerdtree vim-autoformat vim-gitgutter diff --git a/modules/vim/init.vim b/modules/vim/init.vim index 99df5b1..0ebdd4c 100644 --- a/modules/vim/init.vim +++ b/modules/vim/init.vim @@ -11,6 +11,8 @@ set shiftwidth=4 set termguicolors colorscheme slate +nnoremap H :call CocActionAsync('doHover') + "configure plugins let g:gitgutter_sign_removed = "\uE0B8"