Suppress some lua lsp warnings
This commit is contained in:
parent
15a7611549
commit
81b14a6b08
@ -16,6 +16,7 @@ spec.config = function()
|
||||
local cmp_select = { behavior = cmp.SelectBehavior.Select }
|
||||
|
||||
cmp.setup({
|
||||
---@diagnostic disable-next-line:missing-fields
|
||||
formatting = {
|
||||
format = lspk.cmp_format({
|
||||
mode = "symbol_text",
|
||||
|
@ -73,7 +73,6 @@ spec.config = function()
|
||||
local neoconf = require("neoconf")
|
||||
|
||||
neoconf.setup({
|
||||
-- ignore foreign imports
|
||||
import = {
|
||||
vscode = false,
|
||||
coc = false,
|
||||
|
@ -19,6 +19,9 @@ spec.config = function()
|
||||
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.foldcolumn = "1"
|
||||
|
||||
-- This seems to work just fine
|
||||
---@diagnostic disable-next-line:param-type-mismatch
|
||||
vim.opt.fillchars:append({
|
||||
fold = " ",
|
||||
foldopen = "",
|
||||
|
@ -13,6 +13,7 @@ spec.build = ":TSUpdate"
|
||||
|
||||
|
||||
spec.config = function()
|
||||
---@diagnostic disable-next-line:missing-fields
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {
|
||||
"rust",
|
||||
@ -37,8 +38,6 @@ spec.config = function()
|
||||
})
|
||||
|
||||
require("treesitter-context").setup()
|
||||
|
||||
-- require("nvim-treesitter.install").update({})()
|
||||
end
|
||||
|
||||
return spec
|
||||
|
Loading…
Reference in New Issue
Block a user