From d53d85404f05bd890abab5b1eb8ec2daab836289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Tue, 24 Mar 2015 14:22:37 +0100 Subject: [PATCH] Remove strange indent in index print_entries --- autoload/vimtex/index.vim | 2 +- autoload/vimtex/labels.vim | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/autoload/vimtex/index.vim b/autoload/vimtex/index.vim index d580968..467deaa 100644 --- a/autoload/vimtex/index.vim +++ b/autoload/vimtex/index.vim @@ -190,7 +190,7 @@ endfunction " }}}1 function! s:print_entries() dict " {{{1 for entry in self.entries - call append('$', printf(' %s', entry.title)) + call append('$', printf('%s', entry.title)) endfor endfunction diff --git a/autoload/vimtex/labels.vim b/autoload/vimtex/labels.vim index 0dfef3d..a961765 100644 --- a/autoload/vimtex/labels.vim +++ b/autoload/vimtex/labels.vim @@ -74,12 +74,12 @@ endfunction " }}}1 function! s:index_syntax() dict " {{{1 syntax match VimtexLabelsHelp /^.*: .*/ - syntax match VimtexLabelsLine /^ .*$/ contains=@Tex - syntax match VimtexLabelsChap /^ chap:.*$/ contains=@Tex - syntax match VimtexLabelsEq /^ eq:.*$/ contains=@Tex - syntax match VimtexLabelsFig /^ fig:.*$/ contains=@Tex - syntax match VimtexLabelsSec /^ sec:.*$/ contains=@Tex - syntax match VimtexLabelsTab /^ tab:.*$/ contains=@Tex + syntax match VimtexLabelsLine /^.*$/ contains=@Tex + syntax match VimtexLabelsChap /^chap:.*$/ contains=@Tex + syntax match VimtexLabelsEq /^eq:.*$/ contains=@Tex + syntax match VimtexLabelsFig /^fig:.*$/ contains=@Tex + syntax match VimtexLabelsSec /^sec:.*$/ contains=@Tex + syntax match VimtexLabelsTab /^tab:.*$/ contains=@Tex highlight link VimtexLabelsHelp helpVim highlight link VimtexLabelsLine Todo