vim: Only set conceallevel=1 for tex
This commit is contained in:
parent
8aebf2d5de
commit
ee6a1e6781
|
@ -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 scss setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
autocmd Filetype sh setlocal ts=4 sw=4 sts=4
|
autocmd Filetype sh setlocal ts=4 sw=4 sts=4
|
||||||
autocmd Filetype svg setlocal ts=2 sw=2 sts=2 expandtab
|
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 tf setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
autocmd Filetype toml 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
|
autocmd Filetype vim setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
|
|
|
@ -135,7 +135,6 @@ Plug 'psf/black', { 'branch': 'stable' }
|
||||||
Plug 'lervag/vimtex'
|
Plug 'lervag/vimtex'
|
||||||
let g:tex_flavor='latex'
|
let g:tex_flavor='latex'
|
||||||
let g:vimtex_view_method='zathura'
|
let g:vimtex_view_method='zathura'
|
||||||
set conceallevel=1
|
|
||||||
let g:tex_conceal='abdmg'
|
let g:tex_conceal='abdmg'
|
||||||
" nvr is (currently) not in debian repos and therefore installed with pip (in
|
" nvr is (currently) not in debian repos and therefore installed with pip (in
|
||||||
" local directory that is not in zathura’s PATH)
|
" local directory that is not in zathura’s PATH)
|
||||||
|
|
Reference in a new issue