mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-15 01:11:09 +03:00
Merge remote-tracking branch 'Delapouite/css'
This commit is contained in:
commit
0b57412ed1
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user