You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following comparison in function CommentLine is executed for each line and the bottleneck in the current implementation: synIDattr(synID(a:lnum,indent(a:lnum)+1,1),"name") =~? 'Comment'
A faster alternative may be to parse the comments string (see h: comments).
The text was updated successfully, but these errors were encountered:
The following comparison in function
CommentLine
is executed for each line and the bottleneck in the current implementation:synIDattr(synID(a:lnum,indent(a:lnum)+1,1),"name") =~? 'Comment'
A faster alternative may be to parse the
comments
string (seeh: comments
).The text was updated successfully, but these errors were encountered: