Configurations are now scoped #4185
chemzqm
started this conversation in
Show and tell
Replies: 3 comments 4 replies
-
coc-json need improved to support scoped configurations. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Are users supposed to configure the language scope like this? "[c][cpp][python][<other lang>]": {
"diagnostic.enable": true,
// ...
} Is global language scope (say |
Beta Was this translation helpful? Give feedback.
1 reply
-
It seems to work, however I get this issue:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A configuration could be one of three different configuration scopes:
application
the configuration could only be changed in user configurationfile.
resource
the configuration could be changed in user and workspace folderconfiguration file.
language-overridable
the configuration could be changed in user andworkspace folder configuration file, and can be use used in language scoped
configuration.
Use language scoped configurations in your coc-settings.json like:
Deprecated configurations:
inlayHint.filetypes
semanticTokens.filetypes
They will still work, and will overwrite related scoped configuration.
Since coc.nvim have only supported 3 scoped, some conventions are done for configuration from property scope in package.json:
Beta Was this translation helpful? Give feedback.
All reactions