18 -- Hide ctags regex anchors |
18 -- Hide ctags regex anchors |
19 fn.matchadd("Conceal", [[|\zs\^\\V\|\\$\ze|]]) |
19 fn.matchadd("Conceal", [[|\zs\^\\V\|\\$\ze|]]) |
20 |
20 |
21 -- Hide lsp tagfunc line/col seek references |
21 -- Hide lsp tagfunc line/col seek references |
22 fn.matchadd("Conceal", [[|\zs\\V\\%\|c\ze|]]) |
22 fn.matchadd("Conceal", [[|\zs\\V\\%\|c\ze|]]) |
23 fn.matchadd("Conceal", [[|\\V\\%\d\+\zsl\\%]], 10, -1, {conceal = ","}) |
23 fn.matchadd("Conceal", [[|\\V\\%\d\+\zsl\\%]], 10, -1, { conceal = "," }) |
24 |
24 |
25 -- highlight match in line. if tagname begins with / the rest is a \v |
25 -- highlight match in line. if tagname begins with / the rest is a \v |
26 -- regex. match must be between vertical bars, so its the 2nd column. |
26 -- regex. match must be between vertical bars, so its the 2nd column. |
27 local tagstack = fn.gettagstack() |
27 local tagstack = fn.gettagstack() |
28 if tagstack then |
28 if tagstack then |