adding transparency changes
This commit is contained in:
parent
9b4fbc5021
commit
dfa4b4eb0f
10
init.lua
10
init.lua
|
|
@ -688,6 +688,9 @@ require('lazy').setup({
|
||||||
format_on_save = function(bufnr)
|
format_on_save = function(bufnr)
|
||||||
-- You can specify filetypes to autoformat on save here:
|
-- You can specify filetypes to autoformat on save here:
|
||||||
local enabled_filetypes = {
|
local enabled_filetypes = {
|
||||||
|
go = true,
|
||||||
|
lua = true,
|
||||||
|
rust = true,
|
||||||
-- lua = true,
|
-- lua = true,
|
||||||
-- python = true,
|
-- python = true,
|
||||||
}
|
}
|
||||||
|
|
@ -815,15 +818,18 @@ require('lazy').setup({
|
||||||
config = function()
|
config = function()
|
||||||
---@diagnostic disable-next-line: missing-fields
|
---@diagnostic disable-next-line: missing-fields
|
||||||
require('tokyonight').setup {
|
require('tokyonight').setup {
|
||||||
|
transparent = true,
|
||||||
styles = {
|
styles = {
|
||||||
comments = { italic = false }, -- Disable italics in comments
|
comments = { italic = true }, -- Disable italics in comments
|
||||||
|
sidebars = 'transparent',
|
||||||
|
floats = 'transparent',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Load the colorscheme here.
|
-- Load the colorscheme here.
|
||||||
-- Like many other themes, this one has different styles, and you could load
|
-- Like many other themes, this one has different styles, and you could load
|
||||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||||
vim.cmd.colorscheme 'tokyonight-night'
|
vim.cmd.colorscheme 'tokyonight'
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue