nvim: correctly format lsp.lua
This commit is contained in:
parent
8b8d17a64c
commit
8c3ecc750a
1 changed files with 14 additions and 14 deletions
|
@ -5,7 +5,7 @@ return {
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
end
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
@ -20,8 +20,8 @@ return {
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("lspconfig").lua_ls.setup {}
|
require("lspconfig").lua_ls.setup({})
|
||||||
end
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/lazydev.nvim",
|
"folke/lazydev.nvim",
|
||||||
|
@ -34,15 +34,15 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
keymap = { preset = "default" },
|
keymap = { preset = "default" },
|
||||||
sources = {
|
sources = {
|
||||||
default = { "lazydev", "lsp", "path", "snippets", "buffer" },
|
default = { "lazydev", "lsp", "path", "snippets", "buffer" },
|
||||||
providers = {
|
providers = {
|
||||||
lazydev = {
|
lazydev = {
|
||||||
name = "LazyDev",
|
name = "LazyDev",
|
||||||
module = "lazydev.integrations.blink",
|
module = "lazydev.integrations.blink",
|
||||||
score_offset = 100
|
score_offset = 100,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue