mirror of
https://github.com/gabehf/base46.git
synced 2026-03-15 10:15:55 -07:00
add a check for creating cache_dir
This commit is contained in:
parent
ab5569ecb8
commit
4513615982
1 changed files with 4 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ M.saveStr_to_cache = function(filename, tb)
|
||||||
end
|
end
|
||||||
|
|
||||||
M.compile = function()
|
M.compile = function()
|
||||||
|
if not vim.loop.fs_stat(vim.g.base46_cache) then
|
||||||
|
vim.fn.mkdir(vim.g.base46_cache, "p")
|
||||||
|
end
|
||||||
|
|
||||||
-- All integration modules, each file returns a table
|
-- All integration modules, each file returns a table
|
||||||
local hl_files = vim.g.base46_custom_path or vim.fn.stdpath "data" .. "/lazy/base46/lua/base46/integrations"
|
local hl_files = vim.g.base46_custom_path or vim.fn.stdpath "data" .. "/lazy/base46/lua/base46/integrations"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue