mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 08:51:46 +03:00
kakrc.kak: set '-' as an additional word char
This commit is contained in:
parent
d7671f0cdf
commit
c8257a58a5
@ -85,6 +85,7 @@ hook global WinSetOption filetype=kak %{
|
||||
hook window InsertChar \n -group kak-indent kak-indent-on-new-line
|
||||
# cleanup trailing whitespaces on current line insert end
|
||||
hook window InsertEnd .* -group kak-indent %{ try %{ exec -draft \; <a-x> s ^\h+$ <ret> d } }
|
||||
set buffer extra_word_chars '-'
|
||||
}
|
||||
|
||||
hook -group kak-highlight global WinSetOption filetype=(?!kak).* %{ remove-highlighter window/kakrc }
|
||||
|
Loading…
Reference in New Issue
Block a user