Currently for CoC I am setting the nodejs path like this:
let g:coc_node_path = '/usr/local/.nvm/versions/node/v12.4.0/bin/node'
But I want this variable to be set to the output of which node
. How can I do this? The CoC config guide does not mention this, and it's my understanding that this is a vim script specific feature.