Commit Graph

13 Commits

Author SHA1 Message Date
Md. Iftakhar Awal Chowdhury
14d2a9baa1 fix(schemastore): use before_init instead of on_new_config to load schema store (#6427)
## Description

`vim.lsp.config` doesn't provide `on_new_config`, which is causing
`b0o/SchemaStore.nvim` fail to load.
This PR replaces `on_new_config` with `before_init` fixing the issue.

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2025-09-15 21:17:45 +02:00
Folke Lemaitre
a7a94c50ac refactor: remove all <0.11 compat code 2025-09-15 11:16:53 +02:00
Folke Lemaitre
8f7ee56dab refactor: LazyVim.lsp.on_attach 2024-06-08 08:11:30 +02:00
Folke Lemaitre
f8268faa7c fix: cleanup unnecessary treesitter langs and mason lsp servers 2024-06-05 18:07:01 +02:00
Folke Lemaitre
c29213416b feat(extras): added recommended detectors for all languages 2024-05-18 14:39:20 +02:00
Folke Lemaitre
7a5dbeae75 feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
Folke Lemaitre
c8c929c9fd perf(util): split lazyvim.util in smaller separate modules 2023-10-12 11:48:02 +02:00
Folke Lemaitre
33c677a55e fix(yaml): yaml schemas are a dict, not a list, so merge properly. Fixes #1636 2023-10-08 19:29:00 +02:00
Folke Lemaitre
9d17c43087 perf: dont't load schemastore as an lspconfig dep 2023-10-01 16:21:18 +02:00
Folke Lemaitre
7f5051ef72 fix(yamlls): work-around for yaml formatting on Neovim < 0.10. Fixes #1435 2023-09-28 09:00:58 +02:00
Jonas Holst Damtoft
a62a5942de fix(yaml): yaml validate and enable line folding (#1251)
* fix(yaml): enable validate

see https://github.com/redhat-developer/yaml-language-server#language-server-settings

* feat(yaml): support line folding
2023-07-30 11:09:44 +02:00
Javier Tia
d7ca822d41 fix(yaml): yaml: Fix TypeError undefined length (#1229)
In YAML files LSP completion is not happening because
yaml-language-server is failing with error:

    TypeError: Cannot read properties of undefined (reading 'length')

from out/server/src/languageserver/handlers/settingsHandlers.js:78:51,
which it's expecting to have yaml.schemaStore.url.length and it's
doesn't exist.

Signed-off-by: Javier Tia <javier.tia@gmail.com>
2023-07-26 21:43:49 +02:00
Andreas Gerlach
6dc66852b8 feat(extra): add yaml language extension (#1198)
* feat: add yaml language extension

* fix(yaml): disable keyOrdering checks

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-07-25 19:37:13 +02:00