Created
February 20, 2025 16:32
-
-
Save palaniraja/b6eb6ed30b156c26aa3da78e2cfe160c to your computer and use it in GitHub Desktop.
nvim golang ~/.config/nvim/lua/config/options.lua
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- custom config | |
-- Disable relativenumber | |
vim.opt.relativenumber = false | |
-- Disable line numbers in terminal buffers | |
vim.api.nvim_create_autocmd("TermOpen", { | |
pattern = "*", | |
callback = function() | |
vim.opt_local.number = false | |
vim.opt_local.relativenumber = false | |
end, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment