aboutsummaryrefslogtreecommitdiffstats
path: root/lua/config/utils.lua
blob: ebb3eebbd320af94d7c293a3e3016cfc84e4f4be (plain)
1
2
3
4
5
6
7
local M = {}

M.use_local = function (name)
    return vim.fn.isdirectory(vim.fn.expand("~/code/plugins/").. name) == 1
end

return M