mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Use transparent background for nvim in terminal
This commit is contained in:
parent
599c0801f5
commit
158cf84293
@ -1,3 +1,8 @@
|
||||
require("onedark").setup({
|
||||
style = "darker",
|
||||
transparent = not vim.g.neovide,
|
||||
})
|
||||
|
||||
require("onedark").load()
|
||||
|
||||
local indent = 2
|
||||
@ -18,8 +23,11 @@ vim.opt.number = true
|
||||
|
||||
-- Line width
|
||||
local colorcolumns = {}
|
||||
for i = 1, 40 do
|
||||
table.insert(colorcolumns, string.format("+%i", i))
|
||||
|
||||
if vim.g.neovide then
|
||||
for i = 1, 40 do
|
||||
table.insert(colorcolumns, string.format("+%i", i))
|
||||
end
|
||||
end
|
||||
|
||||
vim.opt.textwidth = 80
|
||||
|
||||
Loading…
Reference in New Issue
Block a user