vim: Only set conceallevel=1 for tex

legacy
Simon Bruder 2020-07-11 09:52:50 +02:00
parent 8aebf2d5de
commit ee6a1e6781
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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 zathuras PATH)