From 7410bf154363ede9a09646743adc61a4b76707f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Mon, 8 Dec 2014 20:44:17 +0100 Subject: [PATCH] Add shiftwidth to modelines --- after/syntax/tex.vim | 2 ++ autoload/latex.vim | 2 +- autoload/latex/change.vim | 2 +- autoload/latex/complete.vim | 2 +- autoload/latex/fold.vim | 2 +- autoload/latex/latexmk.vim | 2 +- autoload/latex/motion.vim | 2 +- autoload/latex/toc.vim | 2 +- autoload/latex/util.vim | 2 +- autoload/latex/view.vim | 2 +- autoload/latextoc.vim | 2 +- ftplugin/latextoc.vim | 2 +- ftplugin/tex.vim | 2 +- indent/tex.vim | 2 +- syntax/latextoc.vim | 2 ++ 15 files changed, 17 insertions(+), 13 deletions(-) diff --git a/after/syntax/tex.vim b/after/syntax/tex.vim index 4b06d61..2335d22 100644 --- a/after/syntax/tex.vim +++ b/after/syntax/tex.vim @@ -41,3 +41,5 @@ syn match texInputFile \ "\\lstinputlisting\s*\(\[.*\]\)\={.\{-}}" \ contains=texStatement,texInputCurlies,texInputFileOpt syn match texZone "\\lstinline\s*\(\[.*\]\)\={.\{-}}" + +" vim: fdm=marker sw=2 diff --git a/autoload/latex.vim b/autoload/latex.vim index 4483d88..cf0a4c7 100644 --- a/autoload/latex.vim +++ b/autoload/latex.vim @@ -387,4 +387,4 @@ function! s:truncate(string) " {{{1 endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/change.vim b/autoload/latex/change.vim index 201085f..6aa70e7 100644 --- a/autoload/latex/change.vim +++ b/autoload/latex/change.vim @@ -285,4 +285,4 @@ function! s:search_and_skip_comments(pat, ...) " {{{1 endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/complete.vim b/autoload/latex/complete.vim index cddb572..76ba3d6 100644 --- a/autoload/latex/complete.vim +++ b/autoload/latex/complete.vim @@ -361,4 +361,4 @@ function! s:next_chars_match(regex) " {{{1 endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/fold.vim b/autoload/latex/fold.vim index 9d42d7e..d33ceaa 100644 --- a/autoload/latex/fold.vim +++ b/autoload/latex/fold.vim @@ -313,4 +313,4 @@ function! s:parse_caption_frame(line) " {{{1 endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/latexmk.vim b/autoload/latex/latexmk.vim index 0522923..1f28bd1 100644 --- a/autoload/latex/latexmk.vim +++ b/autoload/latex/latexmk.vim @@ -444,4 +444,4 @@ endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/motion.vim b/autoload/latex/motion.vim index e6845c2..e773cc2 100644 --- a/autoload/latex/motion.vim +++ b/autoload/latex/motion.vim @@ -383,4 +383,4 @@ function! s:search_and_skip_comments(pat, ...) " {{{1 endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/toc.vim b/autoload/latex/toc.vim index efaf412..32cb3f1 100644 --- a/autoload/latex/toc.vim +++ b/autoload/latex/toc.vim @@ -338,4 +338,4 @@ endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/util.vim b/autoload/latex/util.vim index 07cc723..11f86ea 100644 --- a/autoload/latex/util.vim +++ b/autoload/latex/util.vim @@ -370,4 +370,4 @@ endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latex/view.vim b/autoload/latex/view.vim index 596ca72..41c7a11 100644 --- a/autoload/latex/view.vim +++ b/autoload/latex/view.vim @@ -155,4 +155,4 @@ endfunction "}}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/autoload/latextoc.vim b/autoload/latextoc.vim index b7d0020..16071ec 100644 --- a/autoload/latextoc.vim +++ b/autoload/latextoc.vim @@ -155,4 +155,4 @@ endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/ftplugin/latextoc.vim b/ftplugin/latextoc.vim index 334a2fb..5f3dbbf 100644 --- a/ftplugin/latextoc.vim +++ b/ftplugin/latextoc.vim @@ -152,4 +152,4 @@ endfunction " }}}1 -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim index 3f18a27..4add7f6 100644 --- a/ftplugin/tex.vim +++ b/ftplugin/tex.vim @@ -14,4 +14,4 @@ let b:did_ftplugin = 1 call latex#init() -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/indent/tex.vim b/indent/tex.vim index 6eb033f..b1d7c35 100644 --- a/indent/tex.vim +++ b/indent/tex.vim @@ -171,4 +171,4 @@ endfunction let &cpo = s:cpo_save unlet s:cpo_save -" vim: fdm=marker +" vim: fdm=marker sw=2 diff --git a/syntax/latextoc.vim b/syntax/latextoc.vim index 5967f1a..79e55d8 100644 --- a/syntax/latextoc.vim +++ b/syntax/latextoc.vim @@ -19,3 +19,5 @@ highlight link TocSec1 Normal highlight link TocSec2 helpVim highlight link TocSec3 NonText highlight link TocSec4 Comment + +" vim: fdm=marker sw=2