vim-vimlparser icon indicating copy to clipboard operation
vim-vimlparser copied to clipboard

Cannot use `is`, `isnot` for variable name

Open tyru opened this issue 5 years ago • 1 comments
trafficstars

let is = 42
vimlparser: unexpected token: is: line 75 col 5
let isnot = 42
vimlparser: unexpected token: isnot: line 75 col 5

tyru avatar Mar 26 '20 17:03 tyru

tokenizer が先に token として認識しちゃってそう。 https://github.com/vim-jp/vim-vimlparser/blob/4139d51700ed72702bd9f7352e5359ac0cf54c6c/autoload/vimlparser.vim#L3301-L3310

koron avatar Mar 27 '20 09:03 koron