I am trying to get auto-completion for javascript in spacemacs to work for me. So far, no luck.

I have taken the following steps:

  • Added relevant layers:
    • (tern :variables tern-command '("/home/mor3dr3ad/.nvm/versions/node/v15.11.0/bin/tern"))
    • javascript
  • installed tern via nvm/npm

Then when I either type javascript in an org-babel source code block or in a separate *.js file, it will give me some syntax highlighting. I was expecting a dropdown list like auto-completion feature, but maybe I got that wrong?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.