From 079ea655e0a63e63ae4b354652a4c52e224fd388 Mon Sep 17 00:00:00 2001 From: doryan Date: Fri, 13 Dec 2024 15:31:34 +0400 Subject: [PATCH] feat: update init.lua --- init.lua | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index 12ae412..144b8d6 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,12 @@ -vim.cmd("set number") +local vanila_vim_autostart_commands = { + "set number", + "set clipboard=unnamedplus", + "set nowrap" +} + +for _, cmd in pairs(vanila_vim_autostart_commands) do + vim.cmd(cmd) +end require("config.lazy") @@ -6,21 +14,20 @@ require("mappings") require("config.plugins.acmp") require("config.plugins.autotag") -require("config.plugins.autocommand") +require("config.plugins.autocomplete") require("config.plugins.bufferline") require("config.plugins.colorizer") require("config.plugins.comment") require("config.plugins.dap") -require("config.plugins.dropbar") require("config.plugins.gitsigns") require("ibl").setup() require("config.plugins.lualine") -require("config.plugins.navic") -require("config.plugins.noice") +require("config.plugins.navic") require("toggleterm").setup() require("config.plugins.treesitter") require("config.plugins.neotree") require("config.plugins.nvimufo") require("config.plugins.prettier") -require("config.plugins.winbar") +require("config.plugins.rustaceanvim") require("huez").setup({}) +require("config.plugins.dropbar")