From c08e676aaf0018ed83f9636e404fc7722856177a Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Wed, 17 Jun 2020 15:48:05 -0400 Subject: [PATCH] scheme.kak: fixes for r7rs word characters Was missing _ and @ in various places. --- rc/filetype/scheme.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/scheme.kak b/rc/filetype/scheme.kak index d5671f85..6ddb20fa 100644 --- a/rc/filetype/scheme.kak +++ b/rc/filetype/scheme.kak @@ -16,7 +16,7 @@ hook global WinSetOption filetype=scheme %{ set-option window static_words %opt{scheme_static_words} - set-option buffer extra_word_chars '!' '$' '%' '&' '*' '+' '-' '.' '/' ':' '<' '=' '>' '?' '@' '^' '~' + set-option buffer extra_word_chars '!' '$' '%' '&' '*' '+' '-' '.' '/' ':' '<' '=' '>' '?' '@' '^' '_' '~' hook window ModeChange pop:insert:.* -group scheme-trim-indent lisp-trim-indent hook window InsertChar \n -group scheme-indent lisp-indent-on-new-line @@ -118,7 +118,7 @@ evaluate-commands %sh{ exec awk -f - <<'EOF' non_word_chars="['\"\\s\\(\\)\\[\\]\\{\\};]"; - normal_identifiers="-!$%&\\*\\+\\./:<=>\\?\\^_~a-zA-Z0-9"; + normal_identifiers="-!$%&\\*\\+\\./:<=>\\?@\\^_~a-zA-Z0-9"; identifier_chars="[" normal_identifiers "][" normal_identifiers ",#]*"; } function kak_escape(s) {