package publish
This commit is contained in:
parent
4a9dace62f
commit
47240ada3c
2 changed files with 9 additions and 4 deletions
|
@ -32,10 +32,6 @@ function! AtsFormat()
|
|||
call setpos('.', cursor)
|
||||
endfunction
|
||||
|
||||
augroup ats
|
||||
autocmd BufWritePre *.ats,*.dats,*.cats,*.sats execute 'lcd %:p:h'
|
||||
augroup END
|
||||
|
||||
" format on write
|
||||
if g:ats_autoformat == 1
|
||||
augroup ats
|
||||
|
@ -46,3 +42,5 @@ endif
|
|||
" commands
|
||||
command -nargs=0 Format call AtsFormat()
|
||||
command -nargs=0 Check SyntasticCheck patscc
|
||||
|
||||
map <Plug>Clear :SyntasticReset<CR>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue