preservim / vim-markdown

Markdown Vim Mode
4.69k stars 524 forks source link

Syntax for links doesn't get de-concealed #628

Open GTP95 opened 1 year ago

GTP95 commented 1 year ago

Greetings, I have the following .vimrc configuration file:

"Don't care about vi compatibility
set nocompatible

"Syntax highlithing
syntax on
colorscheme elflord

" Concealing
set conceallevel=2
set concealcursor="nc"

"line numbering
set number
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab

" vim-latexsuite config
filetype plugin indent on
set grepprg=grep\ -nH\ $*
let g:tex_flavor = "latex"
let g:Tex_DefaultTargetFormat='pdf'
let g:Tex_CompileRule_pdf = 'arara -v $*'
let g:Tex_SmartKeyQuote=0
set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after

" spellcheck
set spelllang=en_us spell
" Put these lines at the very end of your vimrc file.

" Load all plugins now.
" Plugins need to be added to runtimepath before helptags can be generated.
packloadall
" Load all of the helptags now, after plugins have been loaded.
" All messages and errors will be ignored.
silent! helptags ALL

Despite having

set conceallevel=2
set concealcursor="nc"

the syntax for links doesn't get shown, even if I'm in insert mode and the cursor is right over the link. I didn't check if this happens also with other concealed syntax elements. Using let g:vim_markdown_conceal = 0 instead works, but then concealing is entirely turned off. Am I missing something? What is the correct way of having the Markdown syntax de-concealed when I'm editing it?