diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-02-29 16:09:28 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2016-02-29 16:09:28 +0100 |
commit | 1dd986562f6c10d3d3479aebecf0a1dcb083b5e6 (patch) | |
tree | 82286d117a5666fbf7d2d51f94acaf2118e196a4 /clint.py | |
parent | 88da85a3cd88838a7779ad27c533e62f890e7b18 (diff) | |
parent | e17e5547d79c3a900e1c8267815fe5d6dee27ffc (diff) | |
download | rneovim-1dd986562f6c10d3d3479aebecf0a1dcb083b5e6.tar.gz rneovim-1dd986562f6c10d3d3479aebecf0a1dcb083b5e6.tar.bz2 rneovim-1dd986562f6c10d3d3479aebecf0a1dcb083b5e6.zip |
Merge pull request #4304 from bfredl/yank
Add v:event variable and TextYankPost autocommand
Diffstat (limited to 'clint.py')
-rwxr-xr-x | clint.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2552,7 +2552,7 @@ def CheckBraces(filename, clean_lines, linenum, error): # If should always have a brace for blockstart in ('if', 'while', 'for'): - if Match(r'\s*{0}[^{{]*$'.format(blockstart), line): + if Match(r'\s*{0}(?!\w)[^{{]*$'.format(blockstart), line): pos = line.find(blockstart) pos = line.find('(', pos) if pos > 0: |