Repository navigation
Global configuration? #640
|
Is it possible to specify a global configuration for the language server rather than a config file per project? if so what should the path of this file be? |
Replies: 2 comments 1 reply
|
thanks for the suggestion! did not test it, but something like this could work {
"extends": ["~/.config/postgres-language-server.jsonc"]
}could you share more about your use case for a global config? |
|
Correction to my earlier reply: |
Correction to my earlier reply:
~wasn't expanded inextends. That's fixed now (#878), and there's also a user-level config that applies when a project has no config of its own:$XDG_CONFIG_HOME/postgres-language-server/postgres-language-server.jsoncon Linux (falling back to~/.config/...); see https://pg-language-server.com/main/configuration/ for the other platforms. A project config always wins and is never merged with it; to share settings, use"extends": ["~/.config/postgres-language-server/postgres-language-server.jsonc"]. It's on main and ships with the next release after 0.28.2.