35 lines
1 KiB
Lua
35 lines
1 KiB
Lua
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
dependencies = {
|
|
{
|
|
--`lazydev` configures Lua LSP for your Neovim config, runtime and plugins
|
|
-- used for completion, annotations and signatures of Neovim apis
|
|
"folke/lazydev.nvim",
|
|
ft = "lua",
|
|
opts = {
|
|
library = {
|
|
-- Load luvit types when the `vim.uv` word is found
|
|
{ path = "luvit-meta/library", words = { "vim%.uv" } },
|
|
},
|
|
},
|
|
},
|
|
{ "Bilal2453/luvit-meta", lazy = true },
|
|
"williamboman/mason.nvim",
|
|
"williamboman/mason-lspconfig.nvim",
|
|
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
|
|
|
-- Some enhancements for notifications in bottom-right corner
|
|
{ "j-hui/fidget.nvim", opts = {} },
|
|
|
|
-- Following plugin enables enhancements for diagnostics info
|
|
-- { "https://git.sr.ht/~whynothugo/lsp_lines.nvim" },
|
|
|
|
-- Autoformatting
|
|
"stevearc/conform.nvim",
|
|
},
|
|
config = function()
|
|
require "custom/lsp"
|
|
end,
|
|
},
|
|
}
|