62 lines
1.7 KiB
Lua
62 lines
1.7 KiB
Lua
return {
|
|
{
|
|
"nvim-telescope/telescope.nvim",
|
|
dependencies = { "nvim-lua/plenary.nvim" }
|
|
},
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = ":TSUpdate"
|
|
},
|
|
{ "mbbill/undotree" },
|
|
{ "tpope/vim-fugitive" },
|
|
{
|
|
"rose-pine/neovim",
|
|
name = "rose-pine",
|
|
config = function()
|
|
vim.cmd("colorscheme rose-pine")
|
|
end
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
lazy = false, -- REQUIRED: tell lazy.nvim to start this plugin at startup
|
|
dependencies = {
|
|
-- main one
|
|
{ "ms-jpq/coq_nvim", branch = "coq" },
|
|
|
|
-- 9000+ Snippets
|
|
{ "ms-jpq/coq.artifacts", branch = "artifacts" },
|
|
|
|
-- lua & third party sources -- See https://github.com/ms-jpq/coq.thirdparty
|
|
-- Need to **configure separately**
|
|
{ 'ms-jpq/coq.thirdparty', branch = "3p" }
|
|
-- - shell repl
|
|
-- - nvim lua api
|
|
-- - scientific calculator
|
|
-- - comment banner
|
|
-- - etc
|
|
},
|
|
init = function()
|
|
vim.g.coq_settings = {
|
|
auto_start = true, -- if you want to start COQ at startup
|
|
-- Your COQ settings here
|
|
}
|
|
end,
|
|
config = function()
|
|
vim.lsp.enable("rust_analyzer")
|
|
vim.lsp.enable("lua_ls")
|
|
end
|
|
},
|
|
{
|
|
"folke/trouble.nvim",
|
|
opts = {}, -- for default options, refer to the configuration section for custom setup.
|
|
cmd = "Trouble",
|
|
keys = {
|
|
{
|
|
"<leader>xx",
|
|
"<cmd>Trouble diagnostics toggle<cr>",
|
|
desc = "Diagnostics (Trouble)",
|
|
}
|
|
}
|
|
}
|
|
}
|