about summary refs log tree commit diff stats
path: root/subx.vim
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-04-10 16:43:59 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-18 00:44:46 -0700
commitf7360e493ac7e4d3fc27a1823db0ba62ef271433 (patch)
treeda9ed16befd8c0d54574ef054e04f2447fd15327 /subx.vim
parent0208505bdbd9dde7b78fb724040a35df260bb586 (diff)
downloadmu-f7360e493ac7e4d3fc27a1823db0ba62ef271433.tar.gz
support 'fake' handles allocated statically
Mystery solved of why the syntax sugar phases don't work even though they
don't use any functions whose signatures changed in the migration to handles.

The answer: they use the Registers table, and it needs to use handles rather
than raw strings.
Diffstat (limited to 'subx.vim')
-rw-r--r--subx.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx.vim b/subx.vim
index a0e11837..f63a13c9 100644
--- a/subx.vim
+++ b/subx.vim
@@ -38,7 +38,7 @@ set cpo&vim
 setlocal formatoptions-=t  " allow long lines
 setlocal formatoptions+=c  " but comments should still wrap
 
-setlocal iskeyword+=-,?,<,>
+setlocal iskeyword+=-,?,<,>,$
 
 syntax match subxH1Comment /# - .*/ | highlight link subxH1Comment Comment
 syntax match subxComment /#\( \.\| - \|? \)\@!.*/ | highlight link subxComment Comment