mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Complete refactor + moved to [lsp-zero](https://github.com/VonHeikemen/lsp-zero.nvim)
This commit is contained in:
@@ -1,19 +1,45 @@
|
||||
return {
|
||||
"williamboman/mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"neovim/nvim-lspconfig", -- enable LSP
|
||||
{ "jose-elias-alvarez/null-ls.nvim", event = "VeryLazy" }, -- for formatters and linters
|
||||
"jayp0521/mason-null-ls.nvim",
|
||||
"RRethy/vim-illuminate",
|
||||
{
|
||||
"VonHeikemen/lsp-zero.nvim",
|
||||
branch = "v2.x",
|
||||
dependencies = {
|
||||
-- LSP Support
|
||||
{ "neovim/nvim-lspconfig" }, -- Required
|
||||
{ "williamboman/mason.nvim" }, -- Optional
|
||||
{ "williamboman/mason-lspconfig.nvim" }, -- Optional
|
||||
|
||||
-- Autocompletion
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-buffer", -- buffer completions
|
||||
"hrsh7th/cmp-path", -- path completionsplu
|
||||
"hrsh7th/cmp-nvim-lua",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
}, -- Required
|
||||
{ "hrsh7th/cmp-nvim-lsp" }, -- Required
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
build = "make install_jsregexp",
|
||||
dependencies = {
|
||||
"rafamadriz/friendly-snippets", -- a bunch of snippets to use
|
||||
},
|
||||
}, -- Required
|
||||
{ "saadparwaiz1/cmp_luasnip" },
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"jay-babu/mason-null-ls.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"jose-elias-alvarez/null-ls.nvim",
|
||||
},
|
||||
},
|
||||
|
||||
-- for formatters and linters
|
||||
{ "nanotee/sqls.nvim", lazy = true },
|
||||
|
||||
-- C++
|
||||
{ "p00f/clangd_extensions.nvim", lazy = true },
|
||||
{ "Civitasv/cmake-tools.nvim", lazy = true },
|
||||
|
||||
-- Rust
|
||||
{ "Saecki/crates.nvim", lazy = true },
|
||||
{ "simrat39/rust-tools.nvim", lazy = true },
|
||||
|
||||
-- { "codota/tabnine-nvim", event = "VeryLazy", build = "./dl_binaries.sh" },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user