feat: Adding the TSI (Tree-Sitter Install) command, changing the ui2

setup to use floating messages instead of the cmdline output, cleanup of
plugin loading.
This commit is contained in:
2026-05-27 08:25:34 -05:00
parent a587e16f1f
commit 0ff4a94a04
5 changed files with 54 additions and 50 deletions

View File

@@ -1,4 +1,9 @@
require('vim._core.ui2').enable() -- message + cmdline presentation layer replacement
require('vim._core.ui2').enable {
enable = true,
msg = {
targets = "msg",
}
}
-- Load the following plugins eagerly to prevent visual oddities
require('plugins.gruvbox') -- Colorscheme setup
@@ -7,28 +12,26 @@ require('plugins.lualine') -- Status line plugin
-- vim.schedule defers plugin loading for after the main loop starts
-- Startup is cleaner and faster than ever
vim.schedule(function()
require('plugins.language_support') -- LSP, treesitter and any other language specific support plugins
require('plugins.gitsigns') -- Git gutter notifiers
require('plugins.nvim-cmp') -- Autocompletion plugin (TODO: Move to builtin completion?)
require('plugins.telescope') -- Floating window fuzzy searching different sources
require('plugins.telekasten') -- Note taking plugins
require('plugins.mason') -- LSP and DAP manager
require('plugins.twilight') -- Focus mode, dim lines around the cursor's location
require('plugins.render-markdown') -- Render markdown directly in neovim
require('plugins.luasnip') -- Snippet engine
require('plugins.language_support') -- LSP, treesitter and any other language specific support plugins
require('plugins.gitsigns') -- Git gutter notifiers
require('plugins.nvim-cmp') -- Autocompletion plugin (TODO: Move to builtin completion?)
require('plugins.telescope') -- Floating window fuzzy searching different sources
require('plugins.telekasten') -- Note taking plugins
require('plugins.mason') -- LSP and DAP manager
require('plugins.twilight') -- Focus mode, dim lines around the cursor's location
require('plugins.render-markdown') -- Render markdown directly in neovim
require('plugins.luasnip') -- Snippet engine
vim.pack.add({ 'https://github.com/windwp/nvim-autopairs' }) -- Autocomplete symbol pairs when typing
vim.pack.add({ 'https://github.com/tpope/vim-surround' }) -- Change surrounding characters (doesn't need setup called)
vim.pack.add({ 'https://github.com/tpope/vim-fugitive' }) -- _The_ Git integration plugin people have been using forever
vim.pack.add({ 'https://github.com/habamax/vim-godot' }) -- Godot specific bindings and debug
vim.pack.add({
'https://github.com/windwp/nvim-autopairs', -- Autocomplete symbol pairs when typing
'https://github.com/tpope/vim-surround', -- Change surrounding characters (doesn't need setup called)
'https://github.com/tpope/vim-fugitive', -- _The_ Git integration plugin people have been using forever
'https://github.com/habamax/vim-godot' -- Godot specific bindings and debug
})
require('nvim-autopairs').setup() -- Automatic pair completion of paranteticals, braces, quotes, etc.
require('plugins.dap') -- DAP debugging plugin
require('plugins.dap-python') -- Debug plugin settings specifically for python
require('plugins.yaml-companion') -- Additional YAML and JSON schema helper
require('nvim-autopairs').setup() -- Automatic pair completion of paranteticals, braces, quotes, etc.
require('plugins.dap') -- DAP debugging plugin
require('plugins.dap-python') -- Debug plugin settings specifically for python
require('plugins.yaml-companion') -- Additional YAML and JSON schema helper
require('plugins.nvim-lint') -- Linter loader
end)
-- TODO: Still in need of translation to the new setup
-- Currently not enabled
-- require('plugins.nvim-lint'), -- Linter loader