1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-06-02 13:34:07 +02:00

Comments are skipped during parsing

This commit is contained in:
lippfi 2021-10-08 00:05:54 +03:00
parent e7f128ee59
commit a3b2b4920a

View File

@ -989,6 +989,7 @@ WS: [ \t]+;
INLINE_SEPARATOR: '\n' (' ' | '\t')* BACKSLASH -> skip;
LUA_CODE: 'lua' WS* '<<' WS* 'EOF' .*? 'EOF' -> skip;
LUA_CODE2: 'lua' WS* '<<' WS* 'END' .*? 'END' -> skip;
COMMENT: '\n' WS* QUOTE ~('\n' | '\r')* -> skip;
IGNORE: '"ideaVim ignore' .*? '"ideaVim ignore end' NEW_LINE -> skip;
// All the other symbols