I want to set let g:tex_conceal=""
to disable mathematical symbols appearing instead of original text in a .tex
file (as described here) in my .vimrc
.
This setting is not working if I do it inside a function like
function! New_function()
let g:tex_conceal=""
endfunction
autocmd BufReadPost,BufNewFile *.tex, call New_function()
Why is it not working? Other things I do inside a function are working correctly except this.
Also, these math symbols do not expand even if the cursor is over them in both normal and insert mode.
I am not using any latex related plugins.