This commit is contained in:
2026-02-17 20:56:53 +01:00
parent 6c7e442056
commit 4519c8bf89
23 changed files with 895 additions and 0 deletions

48
lua/nami/set.lua Normal file
View File

@@ -0,0 +1,48 @@
-- no more warnings
vim.deprecate = function() end
-- vim.opt.guicursor = ""
-- disable netrw header
vim.g.netrw_banner = 0
vim.opt.nu = true
vim.opt.relativenumber = true
-- vim.opt.conceallevel = 2
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.wrap = true--false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
vim.opt.foldcolumn = '1' -- '0' is not bad
vim.opt.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
vim.opt.foldlevelstart = 99
vim.opt.foldenable = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
-- vim.opt_local.conceallevel = 1
vim.opt.updatetime = 50
-- vim.opt.colorcolumn = "80"
vim.g.mapleader = " "