summaryrefslogtreecommitdiffstats
path: root/ftplugin/latex-box
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-01-09 11:59:09 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-01-09 11:59:09 +0100
commitf211f02d1e53dbb4eada17e999eba81bccaf1fb2 (patch)
tree0c26fd0f916643af27e56fab71d3fe8dc58e4231 /ftplugin/latex-box
parente45b23b6ee6e3b00ba4c7111f0c703f93fea9123 (diff)
downloadvim-polyglot-f211f02d1e53dbb4eada17e999eba81bccaf1fb2.tar.gz
vim-polyglot-f211f02d1e53dbb4eada17e999eba81bccaf1fb2.zip
Update
Diffstat (limited to 'ftplugin/latex-box')
-rw-r--r--ftplugin/latex-box/complete.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/latex-box/complete.vim b/ftplugin/latex-box/complete.vim
index 9f4f55d5..3b47a2f3 100644
--- a/ftplugin/latex-box/complete.vim
+++ b/ftplugin/latex-box/complete.vim
@@ -365,7 +365,7 @@ function! s:ExtractLabels()
let curname = strpart( getline( lblline ), lblbegin, nameend - lblbegin - 1 )
" Ignore cref entries (because they are duplicates)
- if curname =~ "\@cref"
+ if curname =~ "\@cref\|cref\@"
continue
endif