feat: Add goto-preview and close_handler

This commit is contained in:
Martin Larsson 2025-05-31 00:25:29 +02:00
parent 8cd86d3088
commit fbc9cb8b16
4 changed files with 77 additions and 3 deletions

View file

@ -16,6 +16,9 @@ require("window_management").setup()
-- Initializes custom commands and keybindings for handling code formatting
require("format_handler").setup()
-- Initialize the custom close handler for handling window closing events
require("close_handler").setup()
-- Set configs for servers and enable them in the Neovim LSP Client
require("lspsetup")
@ -28,7 +31,6 @@ require("diagnostics")
--[[
-- Annoyances in Neovim environment:
-- 1. codelldb doesn't terminate C++ program after debugging. : Don't know how to fix, have asked for help.
-- 2. Sometimes very seldomly the cursor stops rendering, the only fix I found is to restsart Neovim.
-- 3. Add PR to lspsaga so you can add keybindings for closing hover_doc, rename, finder, incoming_calls, and code actions using many configurable keybindings. I'm after "<Esc>" and "q".
-- 4. Remove usage of dap-go, dap-python, and rustaceanvim. These are really just providing DAP/LSP configs which I prefer to have without plugin bloat. However, they require more to setup than your average conf.
-- 2. Sometimes very seldomly the cursor stops rendering, the only fix I found is to restart Neovim.
-- 3. Remove usage of dap-go, dap-python, and rustaceanvim. These are really just providing DAP/LSP configs which I prefer to have without plugin bloat. However, they require more to setup than your average conf.
--]]