Public Access
trouble panel fixes (empty diagnostics and todo)
This commit is contained in:
+6
-1
@@ -19,6 +19,7 @@ vim.pack.add({
|
||||
{ src = "https://codeberg.org/mfussenegger/nvim-dap.git" },
|
||||
{ src = "https://github.com/echasnovski/mini.ai" },
|
||||
{ src = "https://github.com/windwp/nvim-ts-autotag" },
|
||||
{ src = "https://github.com/nvim-lua/plenary.nvim" },
|
||||
{ src = "https://github.com/folke/todo-comments.nvim" },
|
||||
{ src = "https://github.com/stevearc/conform.nvim" },
|
||||
{ src = "https://github.com/lewis6991/gitsigns.nvim" },
|
||||
@@ -37,11 +38,15 @@ pcall(vim.cmd.colorscheme, "gruvbox")
|
||||
-- Simple setup({}) plugins
|
||||
for _, name in ipairs({
|
||||
"oil", "mini.pick", "mini.extra", "mini.icons", "mason", "typst-preview",
|
||||
"nvim-autopairs", "trouble", "gitsigns", "mini.jump",
|
||||
"nvim-autopairs", "gitsigns", "mini.jump",
|
||||
"mini.ai", "nvim-ts-autotag", "todo-comments", "csvview",
|
||||
}) do
|
||||
pcall(function() require(name).setup() end)
|
||||
end
|
||||
|
||||
-- Open the Trouble window even when there are no results (e.g. no
|
||||
-- diagnostics) instead of erroring out with "No results".
|
||||
require("trouble").setup({ open_no_results = true })
|
||||
require("mini.icons").mock_nvim_web_devicons()
|
||||
|
||||
-- Labeled jump-anywhere motion (flash replacement); trigger with <leader>j.
|
||||
|
||||
Reference in New Issue
Block a user