You've already forked dotfiles
configurations and using newer built-in functionality in the 0.12.x versions of Neovim. Further work is needed for treesitter updates, cleanup of the conversion work and testing to verify old functionality isn't lessened to get the benefits of a cleaner config and vastly faster load times.
44 lines
2.2 KiB
Lua
44 lines
2.2 KiB
Lua
require('vim._core.ui2').enable()
|
|
|
|
-- Load the following plugins eagerly to prevent visual oddities
|
|
vim.pack.add({
|
|
'https://github.com/sainnhe/gruvbox-material',
|
|
})
|
|
|
|
vim.g.gruvbox_material_enable_italic = true
|
|
vim.g.gruvbox_material_background = 'hard'
|
|
vim.g.gruvbox_material_better_performance = 1
|
|
vim.cmd.colorscheme('gruvbox-material')
|
|
|
|
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.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.treesitter') -- Syntax highlighting and tree support
|
|
|
|
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/habamax/vim-godot'}) -- Godot specific bindings and debug
|
|
|
|
require('nvim-autopairs').setup()
|
|
end)
|
|
|
|
-- TODO: Still in need of translation to the new setup
|
|
-- 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
|
|
|
|
-- Currently not enabled
|
|
-- require('plugins.nvim-lint'), -- Linter loader
|
|
-- require('plugins.fugitive'), -- _The_ Git integration plugin people have been using forever
|
|
-- require('plugins.schemastore'), -- Loads YAML and JSON schemas for autocompletion
|