fix: trouble update

This commit is contained in:
Nydragon 2024-06-30 15:39:48 +02:00
parent 692408380d
commit ff6a4a391d
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209
4 changed files with 11 additions and 14 deletions

View file

@ -59,4 +59,8 @@ vim.g.mapleader = " "
vim.o.clipboard = "unnamedplus"
vim.filetype.add({
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
})
require("plugins")

View file

@ -18,7 +18,7 @@
"gitsigns.nvim": { "branch": "main", "commit": "47c8e3e571376b24de62408fd0c9d12f0a9fc0a3" },
"incline.nvim": { "branch": "main", "commit": "16fc9c073e3ea4175b66ad94375df6d73fc114c0" },
"indent-blankline.nvim": { "branch": "master", "commit": "d98f537c3492e87b6dc6c2e3f66ac517528f406f" },
"lazy.nvim": { "branch": "main", "commit": "4c6479e98ad643cd584e9e7c4095c463e0d810eb" },
"lazy.nvim": { "branch": "main", "commit": "378bfb465673a747e9e9f966e518063499e20cfe" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
"nerdcommenter": { "branch": "master", "commit": "7bb1f72e802a80e37bdda5f6906c69b5a93de1eb" },
"nightfox.nvim": { "branch": "main", "commit": "df75a6a94910ae47854341d6b5a6fd483192c0eb" },

View file

@ -242,7 +242,8 @@ require("lazy").setup({
"folke/trouble.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {
position = "right",
auto_close = true,
win = { position = "right" },
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below

View file

@ -63,27 +63,19 @@ wk.register({
x = {
"Toggle Trouble",
x = {
"<cmd>TroubleToggle<cr>",
"<cmd>Trouble diagnostics toggle<cr>",
"Open Trouble",
},
w = {
"<cmd>TroubleToggle workspace_diagnostics<cr>",
"",
},
d = {
"<cmd>TroubleToggle document_diagnostics<cr>",
"",
},
q = {
"<cmd>TroubleToggle quickfix<cr>",
"<cmd>Trouble quickfix toggle<cr>",
"",
},
l = {
"<cmd>TroubleToggle loclist<cr>",
"<cmd>Trouble loclist toggle<cr>",
"",
},
r = {
"<cmd>TroubleToggle lsp_references<cr>",
"<cmd>Trouble lsp_references toggle<cr>",
"",
},
},