One can use col('$') to get the length of the current cursor line. Further, one can use virtcol('$') to get the same length, but this returns the actual screen column. However, it ignores the conceal feature.Is there any way to get the column number similar to col() and virtcol() that takes the conceal into account?
Get visual column number with conceal feature
functions;conceal
The only way that I can figure out is to make a function which loops over allthe characters in the line and checks if it's concealed withsynconcealed().This seems to work well for help files:fun! VisualCol()    let l:substract = 0    for l:i in range(0, col('$'))        if synconcealed('.', l:i)[0]            let l:substract += 1        endif    endfor    return virtcol('$') - l:substractendfun