1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 07:53:41 +03:00

scheme.kak: fixes for r7rs word characters

Was missing _ and @ in various places.
This commit is contained in:
Jason Felice 2020-06-17 15:48:05 -04:00
parent 8b3696982f
commit c08e676aaf

View File

@ -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) {