diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2026-04-28 11:30:19 +0200 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2026-04-28 11:30:19 +0200 |
| commit | 6922f1c72fb57f77059951f1c9037df674394ff7 (patch) | |
| tree | 2279f8f8f91f4ef8dc7cd83eff274c32b470552a /nvim | |
| parent | bcbb73ed4fb6290a0e7f9401ba8955612e616914 (diff) | |
nvim: add bitbucket schema link
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/lua/config/lsp.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nvim/lua/config/lsp.lua b/nvim/lua/config/lsp.lua index 22e8685..b9319f6 100644 --- a/nvim/lua/config/lsp.lua +++ b/nvim/lua/config/lsp.lua @@ -28,12 +28,14 @@ vim.lsp.enable('bashls') -- dymanic path to bitbucket config schema local bb_schema_path = vim.fn.stdpath("config") .. "/bitbucket-pipelines.json" --- npm i -g yaml-language-server +-- requires yaml-language-server vim.lsp.enable('yamlls') vim.lsp.config('yamlls', { settings = { yaml = { schemas = require('schemastore').yaml.schemas { + -- I can stop using that until this schema stops using $ref in root: + -- https://api.bitbucket.org/schemas/pipelines-configuration replace = { ['bitbucket-pipelines'] = { description = 'Patched pipelines schema', |
