chore(nvim): cleanup
This commit is contained in:
parent
5e13848fe3
commit
48459eb333
3 changed files with 7 additions and 13 deletions
|
@ -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
|
||||
})
|
||||
|
|
|
@ -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')
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue