From 430aeaff0cf42ffc4b9cfdda43b3357d766bec21 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 19 Mar 2014 17:08:53 -0700 Subject: Fix iskeyword so /= and / are highlighted properly. --- genvim.txr | 2 +- txr.vim | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/genvim.txr b/genvim.txr index 44261bc6..91c280ae 100644 --- a/genvim.txr +++ b/genvim.txr @@ -65,7 +65,7 @@ static void dir_tables_init(void) syn case match syn spell toplevel -setlocal iskeyword=a-z,A-Z,48-57,!,$,&,*,+,-,<,=,>,?,\\,_,~,^ +setlocal iskeyword=a-z,A-Z,48-57,!,$,&,*,+,-,<,=,>,?,\\,_,~,/ @(rep) @{txr-sym}@(mod 0 4)@\nsyn keyword txr_keyword contained @{txr-sym}@(end) @(rep) @{txl-sym}@(mod 0 4)@\nsyn keyword txl_keyword contained @{txl-sym}@(end) diff --git a/txr.vim b/txr.vim index d2e7eb32..1ce01da5 100644 --- a/txr.vim +++ b/txr.vim @@ -17,7 +17,7 @@ syn case match syn spell toplevel -setlocal iskeyword=a-z,A-Z,48-57,!,$,&,*,+,-,<,=,>,?,\\,_,~,^ +setlocal iskeyword=a-z,A-Z,48-57,!,$,&,*,+,-,<,=,>,?,\\,_,~,/ syn keyword txr_keyword contained accept all and assert syn keyword txr_keyword contained bind block cases cat @@ -161,14 +161,14 @@ syn keyword txl_keyword contained symbol-value symbolp symlink sys-qquote syn keyword txl_keyword contained sys-splice sys-unquote syslog tan syn keyword txl_keyword contained third throw throwf time syn keyword txl_keyword contained time-fields-local time-fields-utc time-string-local time-string-utc -syn keyword txl_keyword contained time-usec tok-str tostring tostringp -syn keyword txl_keyword contained tree-bind tree-case tree-find trie-add -syn keyword txl_keyword contained trie-compress trim-str trunc typeof -syn keyword txl_keyword contained unget-byte unget-char unquote upcase-str -syn keyword txl_keyword contained update url-decode url-encode usleep -syn keyword txl_keyword contained uw-protect vec vec-push vec-set-length -syn keyword txl_keyword contained vecref vector vector-list vectorp -syn keyword txl_keyword contained with-saved-vars zerop +syn keyword txl_keyword contained time-usec tofloat toint tok-str +syn keyword txl_keyword contained tostring tostringp tree-bind tree-case +syn keyword txl_keyword contained tree-find trie-add trie-compress trim-str +syn keyword txl_keyword contained trunc typeof unget-byte unget-char +syn keyword txl_keyword contained unquote upcase-str update url-decode +syn keyword txl_keyword contained url-encode usleep uw-protect vec +syn keyword txl_keyword contained vec-push vec-set-length vecref vector +syn keyword txl_keyword contained vector-list vectorp with-saved-vars zerop syn match txr_error "@[\t ]*[*]\?[\t ]*." syn match txr_nested_error "[^\t `]\+" contained -- cgit v1.2.3