jessemillar / dotfiles

A collection of the dotfiles that keep my workstations humming
MIT License
8 stars 0 forks source link

Fix global node packages #6

Closed jessemillar closed 4 years ago

jessemillar commented 6 years ago

Neoformat needs access to some global (-g) NPM packages to format files. Using zsh-nvm and lazy loading, Neoformat complains that js-format is not executable which makes parsing fail until I run node -v (or similar) to get nvm to load my preferred Node version.

jessemillar commented 4 years ago

Gonna try to find non-Node formatters for Neovim.

jessemillar commented 4 years ago

Don't think this is an issue at this point since I'm not using multiple Node versions anymore.