1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-16 16:51:30 +01:00

vim: add noexpandtab for golang

This commit is contained in:
bretello 2021-02-19 08:52:16 +01:00
parent 9eadb9871c
commit 52b9558c97
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -33,6 +33,8 @@ set expandtab shiftwidth=4 tabstop=4 "always use spaces
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
autocmd FileType go setlocal noexpandtab
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables