migrate nvim config to 0.12.0: vim.pack, ui2, snacks -> mini, just general spring cleaning
This commit is contained in:
parent
d1178fbe59
commit
14b1a9b057
70 changed files with 1081 additions and 1483 deletions
|
|
@ -1,38 +1,10 @@
|
|||
vim.api.nvim_create_augroup("ColorsyncEvents", { clear = true })
|
||||
vim.loader.enable() -- cache for faster startups
|
||||
require('vim._core.ui2').enable({})
|
||||
|
||||
-- Load keymaps before loading any plugins
|
||||
require("colorsync_integration")
|
||||
require("keymaps")
|
||||
|
||||
-- Change and personalize native vim settings
|
||||
vim.opt = require("vim_opt")
|
||||
|
||||
-- Initialize Lazy package manager
|
||||
require("lazy_init")
|
||||
|
||||
-- Initialize the sticky terminal window at the bottom
|
||||
require("vim_opt")
|
||||
require("terminal")
|
||||
|
||||
-- Initialize the custom window management functionality
|
||||
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")
|
||||
|
||||
-- Set configs for nvim-dap so we can debug
|
||||
require("dapsetup")
|
||||
|
||||
-- Change built in settings related to diagnostics
|
||||
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 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.
|
||||
--]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue