Add indentation for Makefile .c .cpp .go
This commit is contained in:
parent
b1c9ea5964
commit
4540abf4e0
@ -62,7 +62,15 @@ set listchars=tab:――,space:·,trail:·
|
|||||||
|
|
||||||
let g:NoClean = ['diff']
|
let g:NoClean = ['diff']
|
||||||
|
|
||||||
augroup filetypes
|
augroup indentation
|
||||||
|
autocmd BufRead,BufNewFile
|
||||||
|
\ Makefile,
|
||||||
|
\*.c,
|
||||||
|
\*.cpp,
|
||||||
|
\*.go
|
||||||
|
\ set tabstop=8 shiftwidth=8 noexpandtab
|
||||||
|
|
||||||
|
|
||||||
autocmd BufRead,BufNewFile
|
autocmd BufRead,BufNewFile
|
||||||
\ *.cs,
|
\ *.cs,
|
||||||
\*.java
|
\*.java
|
||||||
@ -76,6 +84,7 @@ autocmd BufRead,BufNewFile
|
|||||||
\*.coffee,
|
\*.coffee,
|
||||||
\*.erb,
|
\*.erb,
|
||||||
\*.html,
|
\*.html,
|
||||||
|
\*.html.tmpl,
|
||||||
\*.json,
|
\*.json,
|
||||||
\*.tf,
|
\*.tf,
|
||||||
\*.tfvars,
|
\*.tfvars,
|
||||||
|
Loading…
Reference in New Issue
Block a user