BetterLua.vim icon indicating copy to clipboard operation
BetterLua.vim copied to clipboard

How does this compare to tbastos' vim-lua?

Open alerque opened this issue 2 years ago • 1 comments

I'm been using tbastos/vim-lua for ages now and have even suggested that most of the fixes there should be upstreamed. I saw this recommended and now I'm wondering how they compare, which makes sense to adapt to going forward, etc. Any comments?

cf. Similar issue raised in reverse.

alerque avatar Jul 17 '21 17:07 alerque

Taking a quick glance, it doesn't look like that plugin (currently) supports the new 5.4 <attribute> syntax and mine allows changing the highlights of the standard library based on the g:lua_subversion. It also looks like the doc comments are a little different and this is specific to EmmyLua which requires a triple dash --- to use.

But other than that they seem kinda similar. I'd recommend just trying out both and seeing if there's one you prefer or a certain feature that you need.

euclidianAce avatar Jul 18 '21 23:07 euclidianAce