mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-28 03:30:05 +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
|
@ -134,4 +134,4 @@ vim.g.pcode_columnline = true
|
|||
vim.g.pcode_telescope_theme_find_file = "center"
|
||||
vim.g.pcode_telescope_theme_live_grep = "dropdown"
|
||||
-- https://github.com/kristijanhusak/vim-dadbod-ui
|
||||
vim.g.pcode_database = true
|
||||
vim.g.pcode_database = false
|
||||
|
|
|
@ -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