diff options
-rw-r--r-- | nvim/init.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nvim/init.vim b/nvim/init.vim index 0409b0f..f1f1d1e 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -43,6 +43,10 @@ let g:go_fmt_command="goimports" let g:rustfmt_autosave = 1 +" Caddyfile #################################################################### +" +au BufNewFile,BufRead Caddyfile,*.Caddyfile,Caddyfile.* set ft=caddyfile + " neomake ################################################################## autocmd! BufWritePost * Neomake @@ -103,8 +107,9 @@ au FileType javascript setlocal tabstop=2 shiftwidth=2 au FileType typescript setlocal tabstop=2 shiftwidth=2 "We want certain types to use tabs instead of spaces -au FileType go setlocal nolist noexpandtab -au FileType make setlocal nolist noexpandtab +au FileType go setlocal nolist noexpandtab +au FileType make setlocal nolist noexpandtab +au FileType caddyfile setlocal nolist noexpandtab "terminal shortcuts tnoremap <leader><leader> \ |