From 18f1aeb2421e7e4bcaaabd973a3fa06fde22ba14 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 23 Feb 2024 16:36:55 -0500 Subject: [PATCH] Remove some filetype specific stuff that would be better handled on a per-deployment basis --- 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 2bd4dab..248e632 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -38,7 +38,6 @@ 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,ircd.conf,.eslintrc setlocal ft=json autocmd BufNewFile,BufRead *.muttrc setlocal ft=muttrc autocmd BufNewFile,BufRead *.neomuttrc setlocal ft=neomuttrc autocmd BufNewFile,BufRead *pacman.conf setlocal ft=conf @@ -48,8 +47,7 @@ autocmd FileChangedRO * nested set noreadonly autocmd BufEnter,FileType sh setlocal iskeyword-=. autocmd Filetype text,markdown,gitcommit,mail setlocal nonumber spell nolist linebreak tabstop=2 shiftwidth=2 breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "set some defaults for word processing autocmd Filetype text,gitcommit,mail setlocal wrap - autocmd FileType tmux,taskrc setlocal commentstring=#\ %s "set the comment string to # - autocmd FileType slrnrc setlocal commentstring=%%\ %s "set the comment string to % + autocmd FileType tmux setlocal commentstring=#\ %s "set the comment string to # autocmd FileType scss setlocal iskeyword+=$ autocmd FileType javascript setlocal iskeyword+=- iskeyword+=.