diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-03-07 17:50:35 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-03-07 17:50:35 -0800 |
commit | b141470c7b5e23f3d2abc01b24c24b60e9d03542 (patch) | |
tree | afa8656013c896405e41b4fb841357a0f4b418d5 /genvim.txr | |
parent | bd62b2d0a8bbdf31166f9f39f391f5e2c8e10aa1 (diff) | |
download | txr-b141470c7b5e23f3d2abc01b24c24b60e9d03542.tar.gz txr-b141470c7b5e23f3d2abc01b24c24b60e9d03542.tar.bz2 txr-b141470c7b5e23f3d2abc01b24c24b60e9d03542.zip |
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.
Diffstat (limited to 'genvim.txr')
-rw-r--r-- | genvim.txr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |