Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ftplugin/ats.vim
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ if !exists('g:ats_autoformat')
endif
endif

" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".
setlocal fo-=t fo+=croql

setlocal comments=sr:/*,mb:*,ex:*/,sr:(*,mb:*,ex:*)

" indentation rules
set smarttab
augroup ats
Expand Down