Matchit support + small fix by Aaron
This commit is contained in:
commit
a916c607b5
@ -3,3 +3,10 @@
|
|||||||
" Fold by syntax, but open all folds by default
|
" Fold by syntax, but open all folds by default
|
||||||
setlocal foldmethod=syntax
|
setlocal foldmethod=syntax
|
||||||
setlocal foldlevel=99
|
setlocal foldlevel=99
|
||||||
|
|
||||||
|
" Define match words for use with matchit plugin
|
||||||
|
" http://www.vim.org/scripts/script.php?script_id=39
|
||||||
|
if exists("loaded_matchit") && !exists("b:match_words")
|
||||||
|
let b:match_ignorecase = 0
|
||||||
|
let b:match_words = '^snippet\>:^endsnippet\>,^global\>:^endglobal\>,\${:}'
|
||||||
|
endif
|
||||||
|
1
test.py
1
test.py
@ -102,7 +102,6 @@ class VimInterfaceScreen(VimInterface):
|
|||||||
repl = lambda m: '\\' + m.group(0)
|
repl = lambda m: '\\' + m.group(0)
|
||||||
s = re.sub( r"[$^#\\']", repl, s )
|
s = re.sub( r"[$^#\\']", repl, s )
|
||||||
|
|
||||||
# Escape single quotes in command to protect from shell
|
|
||||||
if sys.version_info >= (3,0):
|
if sys.version_info >= (3,0):
|
||||||
s = s.encode("utf-8")
|
s = s.encode("utf-8")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user