summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-11-08 15:19:20 +1100
committerMaxime Coste <mawww@kakoune.org>2020-11-08 15:19:20 +1100
commitba02c1d8229b334a554e2786e489cec59d37cdc0 (patch)
tree439fd2998dfe4061274f175830c460c15585f49c
parent06b082da544e4a833dfca4f77376f9e2629a02a3 (diff)
parentb6df40c586899ff95ccdef25a760f169cfb00528 (diff)
Merge remote-tracking branch 'eraserhd/nix-dash-in-word' into master
-rw-r--r--rc/filetype/nix.kak1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc/filetype/nix.kak b/rc/filetype/nix.kak
index 803ae15b..34133911 100644
--- a/rc/filetype/nix.kak
+++ b/rc/filetype/nix.kak
@@ -18,6 +18,7 @@ hook global WinSetOption filetype=nix %{
hook window InsertChar .* -group nix-indent nix-indent-on-char
hook window InsertChar \n -group nix-indent nix-indent-on-new-line
+ set-option buffer extra_word_chars _ -
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window nix-.+ }
}