Displaying the contents of .nvmrc #3575
Answered
by
JanDeDobbeleer
Daeraxa
asked this question in
Troubleshoot
|
I've edited my prompt to include the node segment which works as I expect except what I kind of want to see isn't necessarily the version of node that I'm currently using but the version of node specified in the file. For example if I have an .nvmrc which has {
"type": "node",
"foreground": "green",
"properties": {
"fetch_package_manager": true
},
"template": "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Major }}"
},This is the block I currently have which works but it displays the active node version and not the For example what I might want in the template (if it existed) would be: Any ideas? |
Answered by
JanDeDobbeleer
Mar 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Daeraxa that property isn't exposed but can be, it's only a feature request away!