nvim: get rid of Trouble
This commit is contained in:
parent
e36b84cca7
commit
390cb418ea
9
.gitmodules
vendored
9
.gitmodules
vendored
@ -53,12 +53,6 @@
|
||||
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter-textobjects
|
||||
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||
|
||||
# error/warning/info box
|
||||
# coding.lua
|
||||
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_trouble.nvim"]
|
||||
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_trouble.nvim
|
||||
url = https://github.com/folke/trouble.nvim
|
||||
|
||||
# aesthetic changes
|
||||
# init.lua
|
||||
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_dressing.nvim"]
|
||||
@ -134,9 +128,6 @@
|
||||
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter-textobjects.path"]
|
||||
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter-textobjects
|
||||
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_trouble.nvim.path"]
|
||||
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_trouble.nvim
|
||||
url = https://github.com/folke/trouble.nvim
|
||||
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_dressing.nvim.path"]
|
||||
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_dressing.nvim
|
||||
url = https://github.com/stevearc/dressing.nvim.git
|
||||
|
@ -100,52 +100,7 @@ require("nvim-treesitter.configs").setup {
|
||||
------
|
||||
-- diagnostics box
|
||||
------
|
||||
vim.cmd.packadd("trouble.nvim")
|
||||
require('trouble').setup({
|
||||
auto_preview = false,
|
||||
-- default config available at https://github.com/folke/trouble.nvim
|
||||
icons = {
|
||||
indent = {
|
||||
middle = " ",
|
||||
last = " ",
|
||||
top = " ",
|
||||
ws = "│ ",
|
||||
},
|
||||
folder_closed = "- ",
|
||||
folder_open = "@ ",
|
||||
kinds = {
|
||||
Array = "a ",
|
||||
Boolean = "b ",
|
||||
Class = "C ",
|
||||
Constant = "π ",
|
||||
Constructor = "Π ",
|
||||
Enum = "Σ ",
|
||||
EnumMember = "Σ ",
|
||||
Event = "ε ",
|
||||
Field = "f ",
|
||||
File = "F ",
|
||||
Function = "λ ",
|
||||
Interface = "I ",
|
||||
Key = "β ",
|
||||
Method = "λ ",
|
||||
Module = "M ",
|
||||
Namespace = "N ",
|
||||
Null = "0 ",
|
||||
Number = "1 ",
|
||||
Object = "O ",
|
||||
Operator = "% ",
|
||||
Package = "P ",
|
||||
Property = "β ",
|
||||
String = "s ",
|
||||
Struct = "S ",
|
||||
TypeParameter = "T ",
|
||||
Variable = "α ",
|
||||
},
|
||||
},
|
||||
})
|
||||
keymap("<leader>dxx", "<cmd>Trouble diagnostics toggle<cr>")
|
||||
keymap("gR", "<cmd>Trouble lsp_references toggle<cr>")
|
||||
|
||||
keymap('<leader>dx', vim.diagnostic.open_float, { noremap=true, silent=true })
|
||||
|
||||
|
||||
--------------------------------
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 6efc446226679fda0547c0fd6a7892fd5f5b15d8
|
Loading…
Reference in New Issue
Block a user