50 lines
1,012 B
Lua
50 lines
1,012 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({})
|
|
require("java").setup({})
|
|
require("lspconfig").jdtls.setup({})
|
|
end,
|
|
},
|
|
{
|
|
"folke/lazydev.nvim",
|
|
ft = "lua",
|
|
opts = {},
|
|
},
|
|
{
|
|
"saghen/blink.cmp",
|
|
version = "1.*",
|
|
opts = {
|
|
keymap = { preset = "enter" },
|
|
sources = {
|
|
default = { "lazydev", "lsp", "path", "snippets", "buffer" },
|
|
providers = {
|
|
lazydev = {
|
|
name = "LazyDev",
|
|
module = "lazydev.integrations.blink",
|
|
score_offset = 100,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|