Many improvements.

This commit is contained in:
Drew 2025-04-27 20:57:49 -07:00
parent bcb5556f7c
commit 30e94f86f0
10 changed files with 247 additions and 7 deletions

View file

@ -1,9 +1,22 @@
vim.opt.termguicolors = true
vim.cmd("colorscheme tokyonight")
vim.wo.number = true
vim.wo.relativenumber = true
vim.diagnostic.config({
virtual_text = true,
virtual_lines = {
current_line = true,
},
update_in_insert = true,
signs = true,
})
vim.api.nvim_create_autocmd("TextYankPost", {
desc = "Highlight when yanking (copying) text",
group = vim.api.nvim_create_augroup("highlight-yank", { clear = true }),
callback = function()
vim.highlight.on_yank()
end,
})