aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-01-07 23:15:50 +0100
committerGitHub <noreply@github.com>2017-01-07 23:15:50 +0100
commitd2f16d534f0cfdcc7b59e80dbf92cf43f956f5ff (patch)
treef492d6634b8224bbbe79b12a85e16198e9906e8b /src/clint.py
parent50af8e0255c0271ff411a6af54b664d69be227e5 (diff)
parenta1cce83d3c7a0b3b9f63db837db521e0b4e6a31f (diff)
downloadrneovim-d2f16d534f0cfdcc7b59e80dbf92cf43f956f5ff.tar.gz
rneovim-d2f16d534f0cfdcc7b59e80dbf92cf43f956f5ff.tar.bz2
rneovim-d2f16d534f0cfdcc7b59e80dbf92cf43f956f5ff.zip
Merge #5079 from ZyX-I/shada-save-current-pos
shada: Save current cursor position before saving jumps
Diffstat (limited to 'src/clint.py')
-rwxr-xr-xsrc/clint.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clint.py b/src/clint.py
index 07733d211e..76982144fb 100755
--- a/src/clint.py
+++ b/src/clint.py
@@ -2516,6 +2516,10 @@ def CheckSpacing(filename, clean_lines, linenum, nesting_state, error):
cast_line = re.sub(r'^# *define +\w+\([^)]*\)', '', line)
match = Search(r'(?<!\bkvec_t)'
+ r'(?<!\bkvec_withinit_t)'
+ r'(?<!\bklist_t)'
+ r'(?<!\bkliter_t)'
+ r'(?<!\bkhash_t)'
r'\((?:const )?(?:struct )?[a-zA-Z_]\w*(?: *\*(?:const)?)*\)'
r' +'
r'-?(?:\*+|&)?(?:\w+|\+\+|--|\()', cast_line)