1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 23:29:46 +01:00
home-manager/tests/modules/programs/neovim/plugin-config.vim
Matthieu Coudron bd83eab622
programs.neovim: default to init.lua (#3233)
We change the current logic: instead of writing an init.vim which loads
lua/init-home-manager.lua, we write an init.lua that sources init.vim

This commit also avoids writing any of these files if the plugins have
no config.
2022-09-22 10:39:55 +02:00

5 lines
164 B
VimL

" plugin-specific config
autocmd FileType c setlocal commentstring=//\ %s
autocmd FileType c setlocal comments=://
" This 'extraConfig' should be present in vimrc