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
1 changed files with 2 additions and 0 deletions

View File

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