File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -874,14 +874,18 @@ require('lazy').setup({
874874 -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
875875 ' folke/tokyonight.nvim' ,
876876 priority = 1000 , -- Make sure to load this before all the other start plugins.
877- init = function ()
877+ config = function ()
878+ --- @diagnostic disable-next-line : missing-fields
879+ require (' tokyonight' ).setup {
880+ styles = {
881+ comments = { italic = false }, -- Disable italics in comments
882+ },
883+ }
884+
878885 -- Load the colorscheme here.
879886 -- Like many other themes, this one has different styles, and you could load
880887 -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
881888 vim .cmd .colorscheme ' tokyonight-night'
882-
883- -- You can configure highlights by doing something like:
884- vim .cmd .hi ' Comment gui=none'
885889 end ,
886890 },
887891
You can’t perform that action at this time.
0 commit comments