Add complete extra_word_chars for lisp
See https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node27.html.
This commit is contained in:
parent
e65740873d
commit
27ed20582f
|
@ -16,7 +16,7 @@ hook global WinSetOption filetype=lisp %{
|
||||||
|
|
||||||
hook window ModeChange insert:.* -group lisp-trim-indent lisp-trim-indent
|
hook window ModeChange insert:.* -group lisp-trim-indent lisp-trim-indent
|
||||||
hook window InsertChar \n -group lisp-indent lisp-indent-on-new-line
|
hook window InsertChar \n -group lisp-indent lisp-indent-on-new-line
|
||||||
set-option buffer extra_word_chars '_' '-'
|
set-option buffer extra_word_chars '_' '+' '-' '*' '/' '@' '$' '%' '^' '&' '_' '=' '<' '>' '~' '.'
|
||||||
|
|
||||||
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window lisp-.+ }
|
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window lisp-.+ }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user