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
|
return {
{
"creativenull/efmls-configs-nvim",
dependencies = { "neovim/nvim-lspconfig" },
},
{
"neovim/nvim-lspconfig",
opts = function(_, opts)
if type(opts) == "table" then
opts.servers = opts.servers or {}
opts.servers.efm =
vim.tbl_deep_extend("error", opts.servers.efm or {}, {
settings = {
version = 2,
rootMarkers = { ".git/" },
},
init_options = {
documentFormatting = true,
documentRangeFormatting = true,
},
})
end
end,
},
}
|