How do I get vim to autocomplete my jQuery code?

Viewed 5170

I'm using vim to write my jQuery code. Is there a plugin that I can use to autocomplete parts of the code?

Edit

i found this Snippet for jquery javascript-jquery Snippet

5 Answers

another way is coc-html with coc.nvim for html files, if you're editing javascript files there is no need, vim can auto complete jquery as long as it is npm/yarn installed in the project.

Related