summaryrefslogtreecommitdiffstats
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
commit8ecde38141b3670a3336f6c7304591d8f2c454c8 (patch)
treeafa8656013c896405e41b4fb841357a0f4b418d5
parent4c171a6c83395e355a4360c140a8dc92c43d8b96 (diff)
downloadtxr-8ecde38141b3670a3336f6c7304591d8f2c454c8.tar.gz
txr-8ecde38141b3670a3336f6c7304591d8f2c454c8.tar.bz2
txr-8ecde38141b3670a3336f6c7304591d8f2c454c8.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.
-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)