Merge pull request #1 from saedtre/feat/transparency

adding transparency changes
This commit is contained in:
samuelt 2026-06-13 17:33:04 +01:00 committed by GitHub
commit e6a4fb4f07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

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