chore: use g instead vim.g
authorTran Duc Binh <binhtran432k@gmail.com>
Mon, 22 Aug 2022 09:27:09 +0000 (16:27 +0700)
committerTran Duc Binh <binhtran432k@gmail.com>
Mon, 22 Aug 2022 09:27:09 +0000 (16:27 +0700)
lua/dracula/init.lua

index 6d735930d097c5ed676edb198d93d74f5de28349..17cbb892a17c2678ba9b00c38b81ecca54ecd1e9 100644 (file)
@@ -96,7 +96,7 @@ local function load()
    end
 
    -- reset colors
-   if vim.g.colors_name then
+   if g.colors_name then
       cmd("hi clear")
    end