Skip to content

How to get stdpath("data") in coc-settings.json? #4645

Closed Answered by fannheyward
hh02 asked this question in Q&A
Discussion options

You must be logged in to vote

coc.nvim didn't support to expand stdpath for now.

You can use env:

  1. define something like VIM_STDPATH_DATA
  2. use env:VIM_STDPATH_DATA in your coc-settings.json, coc.nvim will expand this to the real value.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@fannheyward
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hh02
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants