Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down Expand Up @@ -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,
},

Expand Down
Loading