diff --git a/.config/nvim/lua/core/autocmds.lua b/.config/nvim/lua/core/autocmds.lua index 4672b9e..06e91b7 100644 --- a/.config/nvim/lua/core/autocmds.lua +++ b/.config/nvim/lua/core/autocmds.lua @@ -1,8 +1,8 @@ vim.api.nvim_create_autocmd("VimLeavePre", { - pattern = "*", - callback = function() - if vim.g.savesession then - vim.api.nvim_command("mks! .session.vim") + pattern = "*", + callback = function() + if vim.g.savesession then + vim.api.nvim_command("mks! .session.vim") + end end - end }) diff --git a/.config/nvim/lua/core/theme.lua b/.config/nvim/lua/core/theme.lua deleted file mode 100644 index 5f9b030..0000000 --- a/.config/nvim/lua/core/theme.lua +++ /dev/null @@ -1,6 +0,0 @@ -vim.g.gruvbox_material_better_performance=1 -vim.g.gruvbox_material_background="hard" -vim.g.gruvbox_material_foreground="original" -vim.g.gruvbox_material_transparent_background=2 -vim.opt.background="dark" -vim.cmd('colorscheme gruvbox-material') diff --git a/.config/nvim/lua/core/variables.lua b/.config/nvim/lua/core/variables.lua index d779a35..522ed6e 100644 --- a/.config/nvim/lua/core/variables.lua +++ b/.config/nvim/lua/core/variables.lua @@ -9,7 +9,7 @@ vim.opt.wrap = false -- Disable line wrapping vim.opt.conceallevel = 2 -- Hide Org mode links (assuming you use Org mode) vim.opt.concealcursor = 'nc' -- Conceal text in normal mode only vim.opt.signcolumn = "yes" -- Always show the sign column -vim.o.laststatus = 1 -- Always show the status line (Note: original had '1', consider '2' for always visible) +vim.o.laststatus = 1 -- Always show the status line vim.o.winborder = nil -- Use default border for floating windows -- Indentation @@ -38,4 +38,4 @@ vim.opt.autoread = true -- Automatically vim.opt.swapfile = false -- Disable swap files -- Formatting -vim.opt.formatoptions:remove("ro") -- Remove 'ro' from formatoptions (assuming you don't want auto-wrapping comments) +vim.opt.formatoptions:remove("ro") -- Remove 'ro' from formatoptions