Vimjas / vint

Fast and Highly Extensible Vim script Language Lint implemented in Python.
MIT License
702 stars 33 forks source link

Support expr-.. (double dot) for string concatenation #365

Closed kutsan closed 3 years ago

kutsan commented 4 years ago

See:

let g:foo = 'bar' .. 'baz'
let g:foo = 'bar' . 'baz'

Since they are the same, vint shouldn't produce an error such as:

unexpected token: . (see vim-jp/vim-vimlparser)
kutsan commented 3 years ago

The features is implemented by vimlparser as seen here: https://github.com/vim-jp/vim-vimlparser/issues/173

mvanderkamp commented 3 years ago

I believe this is already fixed? I did a pip install on a clone of the repo and no longer saw this error.

kutsan commented 3 years ago

I'm still getting this error.

image

blueyed commented 3 years ago

Appears to be fixed in master (b577a623e9279d44eb3dc81e6817c8eec25add63; and released as v0.4a2). To install it use --pre with pip.

kutsan commented 3 years ago

Hmm, I should have tried building from master. Thanks @blueyed.