Explorar o código

use init for colorscheme (#715)

name.tar.xz %!s(int64=2) %!d(string=hai) anos
pai
achega
3cfccc01be
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      init.lua

+ 1 - 2
init.lua

@@ -723,9 +723,8 @@ require('lazy').setup({
     --
     -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
     'folke/tokyonight.nvim',
-    lazy = false, -- make sure we load this during startup if it is your main colorscheme
     priority = 1000, -- make sure to load this before all the other start plugins
-    config = function()
+    init = function()
       -- Load the colorscheme here.
       -- Like many other themes, this one has different styles, and you could load
       -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.