package publish
This commit is contained in:
parent
61fab26eae
commit
ceb31d239c
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ endif
|
|||
" indentation rules
|
||||
set smarttab
|
||||
augroup ats
|
||||
au BufNewFile,BufRead *.*ats setl shiftwidth=2
|
||||
au! BufNewFile,BufRead *.*ats setl shiftwidth=2
|
||||
augroup END
|
||||
|
||||
" set comment string to something prettier
|
||||
|
@ -39,14 +39,14 @@ endfunction
|
|||
|
||||
if g:ats_use_ctags == 1
|
||||
augroup ats
|
||||
autocmd BufWritePost *.dats,*.cats,*.sats,*.hats silent !ctags -R .
|
||||
autocmd! BufWritePost *.dats,*.cats,*.sats,*.hats silent !ctags -R .
|
||||
augroup END
|
||||
endif
|
||||
|
||||
" format on write
|
||||
if g:ats_autoformat == 1
|
||||
augroup ats
|
||||
autocmd BufWritePost *.dats,*.sats,*.hats call AtsFormat()
|
||||
autocmd! BufWritePost *.dats,*.sats,*.hats call AtsFormat()
|
||||
augroup END
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue