From b141470c7b5e23f3d2abc01b24c24b60e9d03542 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 7 Mar 2020 17:50:35 -0800 Subject: genvim: colon isn't keyword constituent any more. * genvim (iskeyword): Remove the : character from being a symbol constituent. This doesn't work well with tags, which are oblivious to packages. We would not only have to make tags.tl deal with packages, but in the tags file we would have to duplicate every entry with and without the package prefix. It doesn't make a lot of sense. Plus, packages themselves are tags, and if we put the cursor on the package part of a qualified symbol, we can jump to the package. --- genvim.txr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genvim.txr b/genvim.txr index 5b1252b1..e831e85e 100644 --- a/genvim.txr +++ b/genvim.txr @@ -80,7 +80,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) @{tl-sym}@(mod 0 4)@\nsyn keyword tl_keyword contained @{tl-sym}@(end) @ (end) @ (if txr-p) -- cgit v1.2.3