diff --git a/rc/base/css.kak b/rc/base/css.kak index 2fbb17c5c..ad1dff5db 100644 --- a/rc/base/css.kak +++ b/rc/base/css.kak @@ -70,6 +70,7 @@ hook global WinSetOption filetype=css %[ hook window ModeChange insert:.* -group css-hooks css-filter-around-selections hook window InsertChar \n -group css-indent css-indent-on-new-line hook window InsertChar \} -group css-indent css-indent-on-closing-curly-brace + set-option buffer extra_word_chars '-' ] hook -group css-highlight global WinSetOption filetype=(?!css).* %{ remove-highlighter window/css } diff --git a/rc/extra/sass.kak b/rc/extra/sass.kak index 2c378957e..50edc0a6b 100644 --- a/rc/extra/sass.kak +++ b/rc/extra/sass.kak @@ -55,6 +55,7 @@ hook -group sass-highlight global WinSetOption filetype=sass %{ add-highlighter hook global WinSetOption filetype=sass %{ hook window ModeChange insert:.* -group sass-hooks sass-filter-around-selections hook window InsertChar \n -group sass-indent sass-indent-on-new-line + set-option buffer extra_word_chars '-' } hook -group sass-highlight global WinSetOption filetype=(?!sass).* %{ remove-highlighter window/sass } diff --git a/rc/extra/scss.kak b/rc/extra/scss.kak index 27ede674e..15c3ff84e 100644 --- a/rc/extra/scss.kak +++ b/rc/extra/scss.kak @@ -38,6 +38,7 @@ hook global WinSetOption filetype=scss %[ hook window ModeChange insert:.* -group scss-hooks scss-filter-around-selections hook window InsertChar \n -group scss-indent scss-indent-on-new-line hook window InsertChar \} -group scss-indent scss-indent-on-closing-curly-brace + set-option buffer extra_word_chars '-' ] hook -group scss-highlight global WinSetOption filetype=(?!scss).* %{ remove-highlighter window/scss }