refactor: lint and dap
This commit is contained in:
parent
7785311043
commit
2bed6f50c0
46 changed files with 2453 additions and 0 deletions
33
nivm/lua/settings/options.lua
Normal file
33
nivm/lua/settings/options.lua
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
local options = {
|
||||
clipboard = "unnamedplus",
|
||||
mouse = "a",
|
||||
fileencoding = "utf-8",
|
||||
relativenumber = true,
|
||||
smartindent = true,
|
||||
smartcase = true,
|
||||
showmode = true,
|
||||
termguicolors = true,
|
||||
-- winbar = "",
|
||||
ignorecase = true,
|
||||
showtabline = 2,
|
||||
timeoutlen = 100, -- time to wait for a mapped sequence to complete (in milliseconds)
|
||||
undofile = true, -- enable persistent undoi updatetime = 300, -- faster completion (4000ms default)
|
||||
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
|
||||
expandtab = true, -- convert tabs to spaces
|
||||
shiftwidth = 2, -- the number of spaces inserted for each indentation
|
||||
tabstop = 2, -- insert 2 spaces for a tab
|
||||
cursorline = true,
|
||||
scrolloff = 8, -- is one of my fav
|
||||
sidescrolloff = 8,
|
||||
spell = true,
|
||||
spelllang = "en_us",
|
||||
mousemodel = "popup_setpos",
|
||||
}
|
||||
|
||||
--vim.opt.shortmess:append "c"
|
||||
|
||||
for k, v in pairs(options) do
|
||||
vim.opt[k] = v
|
||||
end
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue