From ee6a1e67812915448d57078e7ca92b61a6a9e7e2 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 11 Jul 2020 09:52:50 +0200 Subject: [PATCH] vim: Only set conceallevel=1 for tex --- home/.config/nvim/ftdetect/filetypes.vim | 2 +- home/.config/nvim/init.vim | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.config/nvim/ftdetect/filetypes.vim b/home/.config/nvim/ftdetect/filetypes.vim index 3ed5c2f..f2cdc31 100644 --- a/home/.config/nvim/ftdetect/filetypes.vim +++ b/home/.config/nvim/ftdetect/filetypes.vim @@ -30,7 +30,7 @@ autocmd Filetype sass setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype scss setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype sh setlocal ts=4 sw=4 sts=4 autocmd Filetype svg setlocal ts=2 sw=2 sts=2 expandtab -autocmd Filetype tex setlocal ts=1 sw=1 sts=1 expandtab +autocmd Filetype tex setlocal ts=1 sw=1 sts=1 expandtab conceallevel=1 autocmd Filetype tf setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype toml setlocal ts=2 sw=2 sts=2 expandtab autocmd Filetype vim setlocal ts=2 sw=2 sts=2 expandtab diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index c5684ec..429054d 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -135,7 +135,6 @@ Plug 'psf/black', { 'branch': 'stable' } Plug 'lervag/vimtex' let g:tex_flavor='latex' let g:vimtex_view_method='zathura' -set conceallevel=1 let g:tex_conceal='abdmg' " nvr is (currently) not in debian repos and therefore installed with pip (in " local directory that is not in zathura’s PATH)