File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -911,17 +911,22 @@ require('lazy').setup({
911911 -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
912912 ' folke/tokyonight.nvim' ,
913913 priority = 1000 , -- Make sure to load this before all the other start plugins.
914- opts = {
915- transparent = true ,
916- },
917- init = function ()
914+ -- opts = {
915+ -- transparent = true,
916+ -- },
917+ -- init = function()
918+ config = function ()
919+ --- @diagnostic disable-next-line : missing-fields
920+ require (' tokyonight' ).setup {
921+ styles = {
922+ comments = { italic = false }, -- Disable italics in comments
923+ },
924+ }
925+
918926 -- Load the colorscheme here.
919927 -- Like many other themes, this one has different styles, and you could load
920928 -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
921929 vim .cmd .colorscheme ' tokyonight-night'
922-
923- -- You can configure highlights by doing something like:
924- vim .cmd .hi ' Comment gui=none'
925930 end ,
926931 },
927932
You can’t perform that action at this time.
0 commit comments