|
|
|
@ -21,7 +21,6 @@ return {
|
|
|
|
ft = { "go", "gomod", "gowork", "gotmpl" },
|
|
|
|
ft = { "go", "gomod", "gowork", "gotmpl" },
|
|
|
|
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
|
|
|
|
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
-- These are some examples, uncomment them if you want to see them work!
|
|
|
|
-- These are some examples, uncomment them if you want to see them work!
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
@ -30,7 +29,6 @@ return {
|
|
|
|
require "configs.lspconfig"
|
|
|
|
require "configs.lspconfig"
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
opts = {
|
|
|
|
opts = {
|
|
|
|
@ -47,7 +45,6 @@ return {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"nvim-tree/nvim-tree.lua",
|
|
|
|
"nvim-tree/nvim-tree.lua",
|
|
|
|
opts = {
|
|
|
|
opts = {
|
|
|
|
@ -67,7 +64,43 @@ return {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"folke/trouble.nvim",
|
|
|
|
|
|
|
|
branch = "dev", -- IMPORTANT!
|
|
|
|
|
|
|
|
keys = {
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"<leader>tx",
|
|
|
|
|
|
|
|
"<cmd>Trouble diagnostics toggle<cr>",
|
|
|
|
|
|
|
|
desc = "Diagnostics (Trouble)",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"<leader>tX",
|
|
|
|
|
|
|
|
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
|
|
|
|
|
|
|
|
desc = "Buffer Diagnostics (Trouble)",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"<leader>cs",
|
|
|
|
|
|
|
|
"<cmd>Trouble symbols toggle focus=false<cr>",
|
|
|
|
|
|
|
|
desc = "Symbols (Trouble)",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"<leader>cl",
|
|
|
|
|
|
|
|
"<cmd>Trouble lsp toggle focus=false win.position=right<cr>",
|
|
|
|
|
|
|
|
desc = "LSP Definitions / references / ... (Trouble)",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"<leader>tL",
|
|
|
|
|
|
|
|
"<cmd>Trouble loclist toggle<cr>",
|
|
|
|
|
|
|
|
desc = "Location List (Trouble)",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"<leader>tQ",
|
|
|
|
|
|
|
|
"<cmd>Trouble qflist toggle<cr>",
|
|
|
|
|
|
|
|
desc = "Quickfix List (Trouble)",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
opts = {}, -- for default options, refer to the configuration section for custom setup.
|
|
|
|
|
|
|
|
},
|
|
|
|
-- "nvim-treesitter/nvim-treesitter",
|
|
|
|
-- "nvim-treesitter/nvim-treesitter",
|
|
|
|
-- opts = {
|
|
|
|
-- opts = {
|
|
|
|
-- ensure_installed = {
|
|
|
|
-- ensure_installed = {
|
|
|
|
|