-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
have NVM_PATH correct value? #1353
Comments
What does |
I need to detect current version of node in my editor, so I look this variable for track this and find correct node_module/, ;; elisp code
(concat (getenv "NVM_PATH")
"/../node_modules/tern/emacs/") Which would be a suitable way to find the folder node_module/ for the current version of node? Cheers! |
Use |
Ok, I am wondering now if is correct that value of NVM_PATH:
result is :
nvm ls:
And nvm debug
Cheers! |
That doesn't seem correct - i'd expect That said, nothing uses |
I've removed |
Ok! |
So how can I use this It's used in my VIM rc. |
let g:node_include_path = fnamemodify(
\ fnamemodify($NVM_PATH, ':h'),
\ ':h')
let g:syntastic_cpp_include_dirs = [
\ g:node_include_path . '/include/node',
\ g:node_include_path . '/lib/node_modules/nan',
\...] |
@XadillaX no idea what |
So any environment variable to describe current Node.js version's root? e.g.
Because the newest version break my VIM configuration. |
No, there aren’t. Just a command: |
Added in 359a83e. Fixes nvm-sh#1353.
NVM_PATH has value
but this file not exist, Is that correct?
Cheers
The text was updated successfully, but these errors were encountered: