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