From 6922f1c72fb57f77059951f1c9037df674394ff7 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Tue, 28 Apr 2026 11:30:19 +0200 Subject: nvim: add bitbucket schema link --- nvim/lua/config/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nvim/lua/config') 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', -- cgit v1.3.1