nixpkgs/home/programs/neovim/configuration/ftdetect/yaml.vim
Daniel Siepmann 7106b7cac7
Add neovim configuration inline instead of another repository
This eases maintenance as I don't need to commit and push one repo, and
update rev and sha in here.
Instead I can just change configuration and run home-manager switch.
2022-03-15 08:00:46 +01:00

5 lines
214 B
VimL

au BufNewFile,BufRead **/*.yaml.dist,**/*.yml.dist setfiletype yaml
" Yeah neon is not yaml, but syntax is same and there is no highlight out
" there
au BufNewFile,BufRead **/*.neon.dist,**/*.neon setfiletype yaml