diff options
author | Camil Staps | 2023-02-15 17:13:11 +0100 |
---|---|---|
committer | Camil Staps | 2023-02-15 17:13:11 +0100 |
commit | 79f3cde08db3a2838e1a45853ad1170606663333 (patch) | |
tree | 09b0dc1e1a90a1085596659fb89a4e2ede810b4a /vim/.vim/after | |
parent | Update vim spellfile (diff) |
Vim: add snug; fold clean using syntax; set textwidth by default for folding comments
Diffstat (limited to 'vim/.vim/after')
-rw-r--r-- | vim/.vim/after/ftplugin/clean.vim | 2 | ||||
-rw-r--r-- | vim/.vim/after/ftplugin/tex.vim | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vim/.vim/after/ftplugin/clean.vim b/vim/.vim/after/ftplugin/clean.vim index 1be7ff8..d7007e3 100644 --- a/vim/.vim/after/ftplugin/clean.vim +++ b/vim/.vim/after/ftplugin/clean.vim @@ -1,5 +1,5 @@ setlocal autoindent -setlocal foldmethod=manual +setlocal foldmethod=syntax setlocal tags+=.nitrile-tags; setlocal tags+=nitrile-packages/linux-x64/*/lib/.nitrile-tags; setlocal tags+=nitrile-packages/linux-x86/*/lib/.nitrile-tags; diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim index 6de2aea..a3b5ee2 100644 --- a/vim/.vim/after/ftplugin/tex.vim +++ b/vim/.vim/after/ftplugin/tex.vim @@ -1,5 +1,6 @@ setlocal spell spelllang=en_gb setlocal tabstop=2 shiftwidth=2 +setlocal formatoptions-=t function! SyncTeXToPDF() call system('zathura --synctex-forward ' . |