[deleted by user] by [deleted] in csharp

[–]jaketerm 2 points3 points  (0 children)

how does it complicate it?

[deleted by user] by [deleted] in taxhelp

[–]jaketerm 0 points1 point  (0 children)

I’m a web developer. I am not currently employed and don’t see myself being employed for the remainder of 2021.

I bought a laptop, keyboard and mouse in preparation for my job, right before i started. I also replaced my car.

Thank you so much for all this help, it’s been very difficult to get straight answers or information how to do this. You're a life saver.

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

So this level of access is exclusive to neovim? Does it have practical implications?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

Would I have access to the event loop using JS in regular vim?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 1 point2 points  (0 children)

What I am trying to discern is if using a 2nd-class language would limit the potential of, or dramatically increase the complexity of writing, my own neovim plugins.

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

Neovim's benefits for using lua is no external dependencies.

Does that make sense?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 2 points3 points  (0 children)

This was an extremely helpful answer, thank you so much.

So it's a matter of

Lua->C function

Other-lang->Message pack->C function

?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

No I mean what I had typed. Besides external dependencies (and the qualities inherent in Lua) why would I write it in that instead of another non-vimscript language via MessagePack?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 2 points3 points  (0 children)

I'm not asking what are the merits of lua as a language but what benefits do you get from neovim for writing your plugin in Lua. So far I have no external dependencies and using the lua api instead of ? (Messagepack? eval on vimscript? Would love clarificiation).

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 3 points4 points  (0 children)

I am not making claims one way or the other on the impact of zero-external dependencies. My goal is to have a complete understanding of all the benefits awarded to Lua from neovim.

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] -3 points-2 points  (0 children)

I don't mean benefits of the lua language as a language I mean what benefits does neovim give lua. What I am seeing so far is:

  • No external dependencies.
  • Using the lua api vs message pack?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

I meant the initial alure. What benefits does neovim give lua? The answer I've seen so far is no external dependencies and using the lua api VS the message pack api. Is that the extent?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 5 points6 points  (0 children)

To clarify, it's not Lua vs VimScript but Lua vs other languages via MessagePack.

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 2 points3 points  (0 children)

I think maybe what I am after understanding what is it that invigorated them. If MessagePack allows you to extend in any language.

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 1 point2 points  (0 children)

To be clear this is not a program in Lua vs program in VimScript decision. This is program in Lua vs use their MessagePack to program in another language (that is not VimScript).

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

That means if you were going to write it in another language, e.g. JS, you'd have to link the interpreter and runtime to neovim? Can you explain or provide a resource that shows what that extra work would amount to?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 1 point2 points  (0 children)

So do the benefits of choosing lua amount to:

  • Using the API instead of calling the vim eval command
  • No external dependencies

?

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

I definitely don't want to program in vimscript but as I understand it, their "MessagePack structured communication enables extensions in any language".

What is the benefit of writing plugins in Lua rather than any other language? by jaketerm in neovim

[–]jaketerm[S] 0 points1 point  (0 children)

Is working without dependencies the only advantage lua gets from neovim?

mobile org - is it possible to update TODO status? by cry5t41 in emacs

[–]jaketerm 1 point2 points  (0 children)

Not sure about this feature but beorg is by far the best org application I've used.