Skip to content

Commit

Permalink
style: add missing line in repro.lua and disable diagnostic (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas authored Jan 6, 2025
1 parent 0d1e3c3 commit 7afccf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repro.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
{
Expand All @@ -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
Expand Down

0 comments on commit 7afccf8

Please sign in to comment.