mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 17:03:36 +02:00
fix: disable line number in dbout
This commit is contained in:
parent
d44e2d92ae
commit
be59c58be4
3 changed files with 19 additions and 8 deletions
|
@ -64,3 +64,14 @@ vim.opt.runtimepath:remove "/usr/share/vim/vimfiles" -- separate vim plugins fro
|
|||
-- "r:hor50-Cursor/lCursor-blinkwait100-blinkon100-blinkoff100",
|
||||
-- }
|
||||
vim.loader.enable()
|
||||
|
||||
-- Disable statusline in dashboard
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "dbout", "dbui" },
|
||||
callback = function()
|
||||
local opt = vim.opt
|
||||
opt.number = false -- Print line number
|
||||
opt.preserveindent = false -- Preserve indent structure as much as possible
|
||||
opt.relativenumber = false
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue