diff options
-rw-r--r-- | nvim/filetype.vim | 4 | ||||
-rw-r--r-- | nvim/init.vim | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/nvim/filetype.vim b/nvim/filetype.vim deleted file mode 100644 index caf53f7..0000000 --- a/nvim/filetype.vim +++ /dev/null @@ -1,4 +0,0 @@ -augroup filetypedetect - autocmd BufRead,BufNewFile *mutt-* setfiletype mail - autocmd BufRead,BufNewFile *.h setfiletype c -augroup END diff --git a/nvim/init.vim b/nvim/init.vim index 76e25df..6a1d295 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -98,7 +98,6 @@ nmap <C-j> gj nmap <C-k> gk - """ " CtrlP " @@ -113,6 +112,14 @@ noremap <silent> <Leader>px :Denite buffer file_mru file_rec<CR> noremap <silent> <Leader>pg :Denite grep<CR> +""" +" Filetypes +" +augroup filetypedetect + autocmd BufRead,BufNewFile *mutt-* setfiletype mail + autocmd BufRead,BufNewFile *.h setfiletype c +augroup END + " Horrible hack to work-around weird corrupted lines on window resize " https://github.com/neovim/neovim/issues/7861 |