From 2439d2514fd7680eb6cd13097ca0cf474725a1d8 Mon Sep 17 00:00:00 2001 From: siduck Date: Sat, 14 May 2022 21:27:18 +0530 Subject: [PATCH] add nvchad_theme global in options.lua --- lua/core/options.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/core/options.lua b/lua/core/options.lua index 096c2e0..26727c7 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -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