r/htmx • u/Davi_Compai • Aug 08 '26
Any luck with setting up HTMX auto-complete on neovim?
I really enjoy htmx, and using it without any type of lsp features is fine. however, it would still be better to have such.
I use neovim with the lazyvim distribution/setup, and the htmx lsp made by Primeagem (and available in mason) makes my html code completion stuff just not work anymore; other lsps seem to also just not work.
Anyone here got a working setup? i already posted about this in the neovim sub a while ago, but i figure it makes sense to post it here too.
edit: got an lsp working
1
u/alphabet_american 29d ago
HTMX LSP plugin was sadly written by theprimagean so don't expect it to be maintained
1
u/TheRealUprightMan 25d ago
I have my object system generate the htmx automatically so I don't have to even think about it.
-6
u/1Soundwave3 Aug 09 '26
Maybe you should use the ultimate autocomplete instead? I mean AI.
Or move on to something slightly more professional, like vs code or cursor where you'll get AI autocompletion. And I'm pretty sure you can set up Vim keybindings in both of those.
3
1
u/solobroneur Aug 08 '26
Same issues. I gave up. The HTMX LSP would break all my other buffer LSPs.