1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-- Thanks https://stackoverflow.com/a/70760302/12036073
vim.o.updatetime = 300
vim.diagnostic.config({
virtual_text = false,
float = { focus = false },
})
vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, { callback = function(ev)
vim.diagnostic.open_float(nil)
end})
return {
{
"neovim/nvim-lspconfig",
enabled = false, -- Figure out config property
event = { "BufReadPre", "BufNewFile" },
-- dependencies = {
-- "mason.nvim",
-- { "williamboman/mason-lspconfig.nvim", config = function() end },
-- },
opts = {
servers = {
awk_ls = { settings = {}, },
},
},
setup = {},
},
}
|