2024-04-08 09:26:41 +00:00
|
|
|
require "nvchad.options"
|
|
|
|
|
|
|
|
-- add yours here!
|
|
|
|
|
|
|
|
-- local o = vim.o
|
|
|
|
-- o.cursorlineopt ='both' -- to enable cursorline!
|
2024-11-06 10:52:18 +00:00
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd("BufReadPost", {
|
|
|
|
pattern = { "*" },
|
|
|
|
callback = function()
|
|
|
|
if vim.fn.line "'\"" > 1 and vim.fn.line "'\"" <= vim.fn.line "$" then
|
|
|
|
vim.api.nvim_exec2("normal! g'\"", {})
|
|
|
|
end
|
|
|
|
end,
|
|
|
|
})
|