[vim] set filetype to javascript for es6 files
This commit is contained in:
parent
e76062318c
commit
1412575a1b
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ set directory=~/.local/share/vim/swap,/tmp
|
|||
set undodir=~/.local/share/vim/undo,/tmp
|
||||
set undofile
|
||||
|
||||
autocmd BufNewFile,BufRead *.es6 set ft=javascript
|
||||
autocmd FileType php setlocal sw=4 sts=4 ts=4
|
||||
autocmd FileType gitcommit,markdown,text setlocal nosi spell tw=80 wm=2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue