Files
nvim-configs/lua/options.lua
2024-12-21 14:57:22 +01:00

29 lines
849 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
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' })