diff options
Diffstat (limited to 'after/ftplugin')
-rw-r--r-- | after/ftplugin/requirements.vim | 2 | ||||
-rw-r--r-- | after/ftplugin/tex.vim | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/after/ftplugin/requirements.vim b/after/ftplugin/requirements.vim index 6c3e1d24..5097952c 100644 --- a/after/ftplugin/requirements.vim +++ b/after/ftplugin/requirements.vim @@ -37,4 +37,6 @@ if executable('pip-compile') setlocal makeprg=pip-compile\ % endif endif + +setlocal commentstring=#\ %s " vim: et sw=4 ts=4 sts=4: diff --git a/after/ftplugin/tex.vim b/after/ftplugin/tex.vim index e2898321..31542d04 100644 --- a/after/ftplugin/tex.vim +++ b/after/ftplugin/tex.vim @@ -32,7 +32,7 @@ let &l:define .= '\|\\\(re\)\=new\(boolean\|command\|counter\|environment\|font' " Tell Vim how to recognize LaTeX \include{foo} and plain \input bar : let &l:include .= '\|\\include{' -" On some file systems, "{" and "}" are inluded in 'isfname'. In case the +" On some file systems, "{" and "}" are included in 'isfname'. In case the " TeX file has \include{fname} (LaTeX only), strip everything except "fname". let &l:includeexpr = "substitute(v:fname, '^.\\{-}{\\|}.*', '', 'g')" |