48 lines
874 B
Lua
48 lines
874 B
Lua
-- LSP, linting, formatting, etc...
|
|
|
|
return {
|
|
{
|
|
"williamboman/mason.nvim",
|
|
config = function()
|
|
require("mason").setup()
|
|
end
|
|
},
|
|
{
|
|
"williamboman/mason-lspconfig.nvim",
|
|
config = function()
|
|
require("mason-lspconfig").setup()
|
|
end,
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
dependencies = {
|
|
"mason.nvim",
|
|
"williamboman/mason-lspconfig.nvim",
|
|
},
|
|
config = function()
|
|
require("lspconfig").lua_ls.setup {}
|
|
end
|
|
},
|
|
{
|
|
"folke/lazydev.nvim",
|
|
ft = "lua",
|
|
opts = {},
|
|
},
|
|
{
|
|
"saghen/blink.cmp",
|
|
version = "1.*",
|
|
opts = {
|
|
keymap = { preset = "default" },
|
|
sources = {
|
|
default = { "lazydev", "lsp", "path", "snippets", "buffer" },
|
|
providers = {
|
|
lazydev = {
|
|
name = "LazyDev",
|
|
module = "lazydev.integrations.blink",
|
|
score_offset = 100
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|