From 7afccf816e275fa9b4a48d844fddf8bb16dbbfba Mon Sep 17 00:00:00 2001 From: Mika Vilpas Date: Mon, 6 Jan 2025 15:41:41 +0200 Subject: [PATCH] style: add missing line in repro.lua and disable diagnostic (#912) --- repro.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repro.lua b/repro.lua index e628ed79..ec4bdb0d 100644 --- a/repro.lua +++ b/repro.lua @@ -3,6 +3,7 @@ vim.env.LAZY_STDPATH = '.repro' load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))() +---@diagnostic disable-next-line: missing-fields require('lazy.minit').repro({ spec = { { @@ -23,6 +24,7 @@ require('lazy.minit').repro({ local lspconfig = require('lspconfig') for server, config in pairs(opts.servers) do -- passing config.capabilities to blink.cmp merges with the capabilities in your + -- `opts[server].capabilities, if you've defined it config.capabilities = require('blink.cmp').get_lsp_capabilities() lspconfig[server].setup(config) end