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
In vim 7.0, the keyword lines in syntax/perl.vim look like so:
syn keyword perlStatementScalar chomp chop chr crypt index lc lcfirst length ord pack reverse rindex sprintf substr uc ucfirst
In 7.3 and above they are:
syn match perlStatementScalar "\<\%(chom\=p\|chr\|crypt\|r\=index\|lc\%(first\)\=\|length\|ord\|pack\|sprintf\|substr\|uc\%(first\)\=\)\>"
Why? Is that an improvement of some kind? My gut feel is that doing matches rather than letting vim do its own determination of what is a keyword would be slower.
The text was updated successfully, but these errors were encountered:
In vim 7.0, the keyword lines in syntax/perl.vim look like so:
In 7.3 and above they are:
Why? Is that an improvement of some kind? My gut feel is that doing matches rather than letting vim do its own determination of what is a keyword would be slower.
The text was updated successfully, but these errors were encountered: