Compare commits
4 commits
e4de3f2670
...
436fb9485a
Author | SHA1 | Date | |
---|---|---|---|
436fb9485a | |||
78cc4cc7d7 | |||
22b8eb3178 | |||
f0879dd3dd |
2
init.lua
2
init.lua
|
@ -18,6 +18,8 @@ vim.o.list = true
|
|||
vim.o.relativenumber = true
|
||||
vim.o.number = true
|
||||
|
||||
vim.o.colorcolumn = "101"
|
||||
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
|
|
|
@ -7,6 +7,12 @@ return {
|
|||
vim.cmd("colorscheme gruvbox-material")
|
||||
end
|
||||
},
|
||||
{
|
||||
'stevearc/dressing.nvim',
|
||||
enabled = custom.full_feature,
|
||||
event = "VeryLazy",
|
||||
opts = { },
|
||||
},
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
main = "ibl",
|
||||
|
|
|
@ -48,7 +48,8 @@ return {
|
|||
"hrsh7th/cmp-cmdline",
|
||||
"L3MON4D3/LuaSnip",
|
||||
},
|
||||
event = "VeryLazy",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
cmd = { "LspInfo", "LspInstall", "LspUninstall" },
|
||||
config = function (_, opts)
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
||||
|
@ -101,4 +102,18 @@ return {
|
|||
{ "gq", vim.diagnostic.setloclist, mode = "n" }
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
event = "VeryLazy",
|
||||
keys = {
|
||||
{ "<leader>xx", "<cmd>TroubleToggle<cr>", mode = "n" },
|
||||
{ "<leader>xw", "<cmd>TroubleToggle workspace_diagnostics<cr>", mode = "n" },
|
||||
{ "<leader>xd", "<cmd>TroubleToggle document_diagnostics<cr>", mode = "n" },
|
||||
{ "<leader>xq", "<cmd>TroubleToggle quickfix<cr>", mode = "n" },
|
||||
{ "<leader>xl", "<cmd>TroubleToggle loclist<cr>", mode = "n" },
|
||||
{ "<leader>xr", "<cmd>TroubleToggle lsp_references<cr>", mode = "n" },
|
||||
},
|
||||
opts = { },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue