Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabeling the language server for some file patterns #78

Open
luisdavim opened this issue May 18, 2024 · 0 comments
Open

Allow disabeling the language server for some file patterns #78

luisdavim opened this issue May 18, 2024 · 0 comments

Comments

@luisdavim
Copy link

luisdavim commented May 18, 2024

There are some issues when using this plugin with helm charts, now there's https://github.com/mrjosh/helm-ls and I'd like to use that when editing files from a helm chart instead of the yaml-language-server, in my coc-settings.json I have the following:

{
  "languageserver": {
    "helm-ls": {
      "command": "helm-ls",
      "args": ["serve"],
      "filetypes": ["helm", "helmfile"],
      "rootPatterns": ["Chart.yaml"]
    }
  },
  "yaml.format.bracketSpacing": false,
  "yaml.schemaStore.enable": true,
  "yaml.hover": true,
  "yaml.completion": true,
  "yaml.validate": true,
  //  "yaml.schemas": {
  //    "https://gist.githubusercontent.com/simnalamburt/2c3263b783ed3f4471bda9ca901bb69f/raw/9c2cd17d6f4683cf80b6360a2d53b33fd49556d7/allow-all-json-schema.json": "*template*/**/*"
  //  },
}

but I still get diagnostic errors from the yaml language server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant