Files
nvim/lua/rua/core/options.lua
2024-09-09 21:15:11 +08:00

21 lines
535 B
Lua

local opt = vim.opt
vim.g.dap_virtual_text = true
vim.o.cursorlineopt = "number,line"
opt.foldmethod = "expr"
opt.foldexpr = "nvim_treesitter#foldexpr()"
opt.foldlevel = 20
opt.ignorecase = true
opt.wildignore:append({ "*/node_modules/*" })
opt.clipboard:append({ "unnamedplus" })
--[[ opt.iskeyword:append("-") ]]
opt.termguicolors = true -- True color support
opt.autoindent = true --- Good auto indent
opt.scrolloff = 3
opt.encoding = utf8
opt.fileencoding = utf8
opt.cursorline = true
opt.relativenumber = true
opt.number = true