add: auto cmd for color column

This commit is contained in:
asep.komarudin 2024-06-07 18:38:28 +07:00
parent 73f85d9584
commit a51db2cbc7
3 changed files with 17 additions and 5 deletions

View file

@ -29,7 +29,6 @@ vim.api.nvim_create_autocmd("ExitPre", {
desc = "Set cursor back to beam when leaving Neovim.",
})
-- config for vim-visual-multi color selection
vim.g.VM_Mono_hl = "DiffText"
vim.g.VM_Extend_hl = "DiffAdd"
@ -54,3 +53,15 @@ vim.g.VM_Insert_hl = "DiffChange"
-- end
-- end,
-- })
-- Mengatur colum color max 80 caracter
-- vim.api.nvim_create_autocmd("BufWinEnter", {
-- pattern = "*",
-- callback = function()
-- vim.opt.formatoptions = "croql"
-- vim.opt.textwidth = 80
-- vim.opt.colorcolumn = "+1"
-- vim.opt.lazyredraw = false
-- vim.cmd "hi ColorColumn guibg=#1B2430 ctermbg=246"
-- end,
-- })

View file

@ -15,7 +15,7 @@
-- solarized-osaka
-- darcula-dark
-- juliana
vim.g.pcode_colorscheme = "darcula-dark"
vim.g.pcode_colorscheme = "dracula"
-- 0 =off 1= on
vim.g.pcode_transparent_mode = 0