diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-12-21 14:41:23 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-12-21 14:41:23 +0100 |
commit | 87a26c5bf169bafbee837e2323f24cfb07e35250 (patch) | |
tree | 326eb21bb10c3d3633b83263d21c85c98f92a67e /after/ftplugin | |
parent | 918610d427503c5c7b380eae4a954bd8cb427db5 (diff) | |
download | vim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.tar.gz vim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.zip |
Update
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')" |