From 1992c1b56e66f1ad0be9f8d611a3f07d48da478d Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 30 Mar 2023 21:26:51 -0400 Subject: [PATCH] Add the - character to iskeyword for javascript files to match vue --- vim/config/after.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/config/after.vim b/vim/config/after.vim index 9b4baeb..3f3957d 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -51,6 +51,7 @@ autocmd FileChangedRO * nested set noreadonly 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 scss setlocal iskeyword+=$ + autocmd FileType javascript setlocal iskeyword+=- autocmd FileType vue setlocal spell "special side/bottom-bar settings to apply when opened