Files
nvim-configs/lua/options.lua
2025-02-18 02:17:01 +01:00

30 lines
876 B
Lua

require "nvchad.options"
-- add yours here!
local o = vim.o
local opt = vim.opt
-- o.cursorlineopt ='both' -- to enable cursorline!
o.scrolloff = 10
opt.relativenumber = true
vim.g.wiki_root = "~/wiki"
local highlight_group = vim.api.nvim_create_augroup("yankhighlight", { clear = true })
vim.api.nvim_create_autocmd("textyankpost", {
callback = function()
vim.highlight.on_yank()
end,
group = highlight_group,
pattern = "*",
})
require "dap"
local sign = vim.fn.sign_define
sign("DapBreakpoint", { text = "", texthl = "DapBreakpoint", linehl = "", numhl = ""})
sign("DapBreakpointCondition", { text = "", texthl = "DapBreakpointCondition", linehl = "", numhl = ""})
sign("DapLogPoint", { text = "", texthl = "DapLogPoint", linehl = "", numhl = ""})
sign('DapStopped', { text='', texthl='DapStopped', linehl='DapStopped', numhl= 'DapStopped' })