amarakon / nvim-cmp-lua-latex-symbols

nvim-cmp source for LaTeX symbols (100% Lua)
GNU Affero General Public License v3.0
18 stars 3 forks source link

Advantages compared to cmp-latex-symbols? #3

Open dpo opened 3 weeks ago

dpo commented 3 weeks ago

The README states

cmp-latex-symbols uses Julia code to generate the symbols list, whereas this plugin sticks to Lua instead.

What are the advantages of "sticking to Lua instead"? I understand that there's no need to have Julia around, but for those who do, could you please elaborate?

amarakon commented 3 weeks ago

Honestly, I wrote this a long time ago and I don't even use nvim-cmp anymore so I don't know. When I wrote this, I just wanted to to see if I can implement the plugin completely in Lua. I recommend trying both of the plugins and see which one works better for you.


As a side note, I now recommend using an input method engine (IME) instead of this. I use fcitx5 and I added the LaTeX input table which basically does the same thing as this plugin except that it works in literally every text editor / input field because it's an input method engine.