Add the - character to iskeyword for javascript files to match vue

This commit is contained in:
Kevin MacMartin 2023-03-30 21:26:51 -04:00
parent e2b7585bc9
commit 1992c1b56e

View file

@ -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