From e7eb8c0f8fba3ed8653d6d3b95e0a5b6eb483b86 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 13 Nov 2018 16:03:34 -0500 Subject: [PATCH] Tighten up the file-type-based-on-filename section, and add .eslintrc as json --- vim/config/after.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vim/config/after.vim b/vim/config/after.vim index 1103acf..6f10094 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -38,12 +38,10 @@ autocmd FileChangedRO * nested set noreadonly "set given filenames to various filetypes autocmd BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setlocal ft=aspnet autocmd BufNewFile,BufRead *.gradle setlocal ft=groovy - autocmd BufNewFile,BufRead *cjdroute.conf,*cjdmaid.conf setlocal ft=json - autocmd BufNewFile,BufRead *ircd.conf setlocal ft=json + autocmd BufNewFile,BufRead cjdroute.conf,ircd.conf,.eslintrc setlocal ft=json autocmd BufNewFile,BufRead *muttrc setlocal ft=muttrc autocmd BufNewFile,BufRead *pacman.conf setlocal ft=conf autocmd BufNewFile,BufRead *vimpagerrc setlocal ft=vim - autocmd BufNewFile,BufRead *yaourtrc setlocal ft=sh "filtype specific settings autocmd BufEnter,FileType sh setlocal iskeyword-=.