1. Tamas Kovacs
  2. slimv

Commits

kovi...@gmail.com  committed 747ff4f

Separate concealed link markers from link text by a space in the inspector buffer,
so that tag lookup (Ctrl+]) can be used if link text is a symbol name.

  • Participants
  • Parent commits de975ba
  • Branches default

Comments (0)

Files changed (2)

File ftplugin/slimv.vim

View file
  • Ignore whitespace
 " slimv.vim:    The Superior Lisp Interaction Mode for VIM
 " Version:      0.9.12
-" Last Change:  23 Nov 2013
+" Last Change:  13 Dec 2013
 " Maintainer:   Tamas Kovacs <kovisoft at gmail dot com>
 " License:      This file is placed in the public domain.
 "               No warranty, express or implied.
 
     if version < 703
         " conceal mechanism is defined since Vim 7.3
-        syn region inspectItem   matchgroup=Ignore start="{\[\d\+\]\s*" end="\[]}"
-        syn region inspectAction matchgroup=Ignore start="{<\d\+>\s*"   end="<>}"
+        syn region inspectItem   matchgroup=Ignore start="{\[\d\+\]\s*" end="\s*\[]}"
+        syn region inspectAction matchgroup=Ignore start="{<\d\+>\s*"   end="\s*<>}"
     else
-        syn region inspectItem   matchgroup=Ignore start="{\[\d\+\]\s*" end="\[]}" concealends
-        syn region inspectAction matchgroup=Ignore start="{<\d\+>\s*"   end="<>}" concealends
+        syn region inspectItem   matchgroup=Ignore start="{\[\d\+\]\s*" end="\s*\[]}" concealends
+        syn region inspectAction matchgroup=Ignore start="{<\d\+>\s*"   end="\s*<>}" concealends
         setlocal conceallevel=3 concealcursor=nc
     endif
 

File ftplugin/swank.py

View file
  • Ignore whitespace
 #
 # SWANK client for Slimv
 # swank.py:     SWANK client code for slimv.vim plugin
-# Version:      0.9.10
-# Last Change:  11 Nov 2013
+# Version:      0.9.12
+# Last Change:  13 Dec 2013
 # Maintainer:   Tamas Kovacs <kovisoft at gmail dot com>
 # License:      This file is placed in the public domain.
 #               No warranty, express or implied.
         newline = False
         if type(el) == list:
             if el[0] == ':action':
-                text = '{<' + unquote(el[2]) + '>' + unquote(el[1]) + '<>}'
+                text = '{<' + unquote(el[2]) + '> ' + unquote(el[1]) + ' <>}'
             else:
-                text = '{[' + unquote(el[2]) + ']' + unquote(el[1]) + '[]}'
+                text = '{[' + unquote(el[2]) + '] ' + unquote(el[1]) + ' []}'
             lst.append(text)
         else:
             text = unquote(el)