summaryrefslogtreecommitdiffstats
path: root/genvim.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-03-07 17:50:35 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-03-07 17:50:35 -0800
commitb141470c7b5e23f3d2abc01b24c24b60e9d03542 (patch)
treeafa8656013c896405e41b4fb841357a0f4b418d5 /genvim.txr
parentbd62b2d0a8bbdf31166f9f39f391f5e2c8e10aa1 (diff)
downloadtxr-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.txr2
1 files changed, 1 insertions, 1 deletions
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)