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 @@ -888,14 +888,18 @@ require('lazy').setup({
888888 -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
889889 ' folke/tokyonight.nvim' ,
890890 priority = 1000 , -- Make sure to load this before all the other start plugins.
891- init = function ()
891+ config = function ()
892+ --- @diagnostic disable-next-line : missing-fields
893+ require (' tokyonight' ).setup {
894+ styles = {
895+ comments = { italic = false }, -- Disable italics in comments
896+ },
897+ }
898+
892899 -- Load the colorscheme here.
893900 -- Like many other themes, this one has different styles, and you could load
894901 -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
895902 vim .cmd .colorscheme ' tokyonight-night'
896-
897- -- You can configure highlights by doing something like:
898- vim .cmd .hi ' Comment gui=none'
899903 end ,
900904 },
901905
You can’t perform that action at this time.
0 commit comments