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 @@ -877,14 +877,18 @@ require('lazy').setup({
877877 -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
878878 ' folke/tokyonight.nvim' ,
879879 priority = 1000 , -- Make sure to load this before all the other start plugins.
880- init = function ()
880+ config = function ()
881+ --- @diagnostic disable-next-line : missing-fields
882+ require (' tokyonight' ).setup {
883+ styles = {
884+ comments = { italic = false }, -- Disable italics in comments
885+ },
886+ }
887+
881888 -- Load the colorscheme here.
882889 -- Like many other themes, this one has different styles, and you could load
883890 -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
884891 vim .cmd .colorscheme ' tokyonight-night'
885-
886- -- You can configure highlights by doing something like:
887- vim .cmd .hi ' Comment gui=none'
888892 end ,
889893 },
890894
You can’t perform that action at this time.
0 commit comments