1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-09-21 18:09:09 +03:00

Add extra_word_chars '-' to css.kak

This commit is contained in:
Delapouite 2018-03-21 07:59:40 +01:00
parent 5c1a5c6d15
commit d09256ec4c
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

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