diff --git a/src/main/antlr/Vimscript.g4 b/src/main/antlr/Vimscript.g4 index 15f68c3ef..14ed817f3 100644 --- a/src/main/antlr/Vimscript.g4 +++ b/src/main/antlr/Vimscript.g4 @@ -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