add nvchad_theme global in options.lua

This commit is contained in:
siduck 2022-05-14 21:27:18 +05:30
parent 1bc1d9c52a
commit 2439d2514f

View file

@ -1,6 +1,8 @@
local opt = vim.opt
local g = vim.g
g.nvchad_theme = nvchad.load_config().ui.theme
-- use filetype.lua instead of filetype.vim
g.did_load_filetypes = 0
g.do_filetype_lua = 1