summaryrefslogtreecommitdiffstats
path: root/ftplugin/latex-box
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/latex-box/common.vim2
-rw-r--r--ftplugin/latex-box/complete.vim2
-rw-r--r--ftplugin/latex-box/findmain.vim2
-rw-r--r--ftplugin/latex-box/folding.vim2
-rw-r--r--ftplugin/latex-box/latexmk.vim2
-rw-r--r--ftplugin/latex-box/mappings.vim2
-rw-r--r--ftplugin/latex-box/motion.vim2
7 files changed, 14 insertions, 0 deletions
diff --git a/ftplugin/latex-box/common.vim b/ftplugin/latex-box/common.vim
index 938d97b2..1a972c9b 100644
--- a/ftplugin/latex-box/common.vim
+++ b/ftplugin/latex-box/common.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
+
" LaTeX Box common functions
" Error Format {{{
@@ -412,4 +413,5 @@ endfunction
" }}}
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4
+
endif
diff --git a/ftplugin/latex-box/complete.vim b/ftplugin/latex-box/complete.vim
index 74f98696..56e7516e 100644
--- a/ftplugin/latex-box/complete.vim
+++ b/ftplugin/latex-box/complete.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
+
" LaTeX Box completion
setlocal omnifunc=LatexBox_Complete
@@ -931,4 +932,5 @@ command! LatexLabels call <SID>PromptLabelList()
" }}}
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4
+
endif
diff --git a/ftplugin/latex-box/findmain.vim b/ftplugin/latex-box/findmain.vim
index a06358b5..6d1a9928 100644
--- a/ftplugin/latex-box/findmain.vim
+++ b/ftplugin/latex-box/findmain.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
+
" LatexBox_GetMainFileName: gets the name of the main file being compiled. {{{
" Description: returns the full path name of the main file.
" This function checks for the existence of a .latexmain file
@@ -61,4 +62,5 @@ function! LatexBox_GetMainFileName(...)
" certain platforms.
return lheadfile
endfunction
+
endif
diff --git a/ftplugin/latex-box/folding.vim b/ftplugin/latex-box/folding.vim
index 1dac48d5..e24e036d 100644
--- a/ftplugin/latex-box/folding.vim
+++ b/ftplugin/latex-box/folding.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
+
" Folding support for LaTeX
"
@@ -377,4 +378,5 @@ endfunction
" {{{1 Footer
" vim:fdm=marker:ff=unix:ts=4:sw=4
+
endif
diff --git a/ftplugin/latex-box/latexmk.vim b/ftplugin/latex-box/latexmk.vim
index c1b917b7..ef9ef024 100644
--- a/ftplugin/latex-box/latexmk.vim
+++ b/ftplugin/latex-box/latexmk.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
+
" LaTeX Box latexmk functions
" Options and variables {{{
@@ -553,4 +554,5 @@ endif
" }}}
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4
+
endif
diff --git a/ftplugin/latex-box/mappings.vim b/ftplugin/latex-box/mappings.vim
index 7d2e0633..b64a88df 100644
--- a/ftplugin/latex-box/mappings.vim
+++ b/ftplugin/latex-box/mappings.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
+
" LaTeX Box mappings
if exists("g:LatexBox_no_mappings")
@@ -105,4 +106,5 @@ vnoremap <buffer> <silent> [[ :<c-u>call <SID>LatexBoxNextSection(0,1,1)<CR>
" }}}
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4
+
endif
diff --git a/ftplugin/latex-box/motion.vim b/ftplugin/latex-box/motion.vim
index 9caa0ed5..7982d04b 100644
--- a/ftplugin/latex-box/motion.vim
+++ b/ftplugin/latex-box/motion.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
+
" LaTeX Box motion functions
" Motion options {{{
@@ -543,4 +544,5 @@ command! LatexTOCToggle call LatexBox_TOC(1)
" }}}
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4
+
endif