From 1412575a1b8c55003ae1fb8855dbbff8d905d93b Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Thu, 19 Oct 2017 17:25:28 -0500 Subject: [PATCH] [vim] set filetype to javascript for es6 files --- vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/vimrc b/vim/vimrc index ef2990a..6ac57cf 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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