VoidVim/init.lua

55 lines
1.3 KiB
Lua
Raw Permalink Normal View History

2024-12-13 14:31:34 +03:00
local vanila_vim_autostart_commands = {
"set number",
"set clipboard=unnamedplus",
"set nowrap",
"set shiftwidth=4",
"set tabstop=4",
2024-12-13 14:31:34 +03:00
}
2024-12-14 01:55:19 +03:00
for _, cmd in pairs(vanila_vim_autostart_commands) do
vim.cmd(cmd)
2024-12-13 14:31:34 +03:00
end
2024-12-12 13:08:03 +03:00
if vim.lsp.inlay_hint then
vim.lsp.inlay_hint.enable(true, { 0 })
end
2024-12-12 13:08:03 +03:00
require("config.lazy")
require("config.plugins.nvimufo")
2024-12-12 13:08:03 +03:00
require("config.plugins.acmp")
require("config.plugins.autotag")
2024-12-13 14:31:34 +03:00
require("config.plugins.autocomplete")
2024-12-12 13:08:03 +03:00
require("config.plugins.bufferline")
require("config.plugins.colorizer")
require("config.plugins.comment")
require("config.plugins.dap")
require("config.plugins.gitsigns")
require("ibl").setup({
exclude = {
filetypes = { "dashboard" },
}
})
2024-12-22 23:59:51 +03:00
require("config.plugins.hover_actions")
require("config.plugins.lsp_config")
2024-12-14 01:55:19 +03:00
require("config.plugins.lsp_diagnostic")
2024-12-12 13:08:03 +03:00
require("config.plugins.lualine")
2024-12-14 01:55:19 +03:00
require("config.plugins.navic")
require("config.plugins.noice")
2024-12-12 13:08:03 +03:00
require("toggleterm").setup()
require("config.plugins.treesitter")
require("config.plugins.neotree")
require("config.plugins.prettier")
2024-12-13 14:31:34 +03:00
require("config.plugins.rustaceanvim")
2024-12-12 13:08:03 +03:00
require("huez").setup({})
require("config.plugins.dropbar")
require("config.plugins.dashboard")
vim.api.nvim_create_autocmd("BufWritePre", {
buffer = buffer,
callback = function()
vim.lsp.buf.format { async = false }
end
})
require("mappings")