From 0e234f4cad56dd77a2c59de5de5a859e05fd66b3 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Wed, 22 Jan 2025 13:58:45 +0100 Subject: refactor: silence luals warnings --- lua/lspconfig/configs.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lua') diff --git a/lua/lspconfig/configs.lua b/lua/lspconfig/configs.lua index b4f9ca08..65b0b8fb 100644 --- a/lua/lspconfig/configs.lua +++ b/lua/lspconfig/configs.lua @@ -1,3 +1,8 @@ +-- This entire module will only be usfeul for Nvim older than 0.11, since vim.lsp.config makes this module obsolete. So +-- it's easier to just disable all warnings for now and remove this file when it's no longer relevant. +--- @diagnostic disable: assign-type-mismatch +--- @diagnostic disable: param-type-mismatch + local util = require 'lspconfig.util' local async = require 'lspconfig.async' local api, validate, lsp, fn = vim.api, vim.validate, vim.lsp, vim.fn -- cgit v1.2.3-70-g09d2