[vim] Strip trailing whitespace from lua files on save
This commit is contained in:
parent
060920c4fc
commit
539aad7940
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ if has('autocmd')
|
|||
autocmd FileType python call <SID>strip_trailing_whitespace()
|
||||
autocmd FileType c,cpp,objc,objcpp call <SID>strip_trailing_whitespace()
|
||||
autocmd FileType html,css call <SID>strip_trailing_whitespace()
|
||||
autocmd FileType lua call <SID>strip_trailing_whitespace()
|
||||
augroup END
|
||||
|
||||
" Indent wrapped long lines of code to leading indent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue