diff options
| author | adalessa <dalessandro.ariel@gmail.com> | 2023-01-25 19:52:11 +0100 |
|---|---|---|
| committer | adalessa <dalessandro.ariel@gmail.com> | 2023-01-25 19:52:45 +0100 |
| commit | 2e87884a0df6f966d1e2422395e5662bf14d5a81 (patch) | |
| tree | 89af60a5eb8e1d2847673d03d5be170132630bd4 /lua/config/utils.lua | |
| parent | a0a9467e57be4754bc9152d225e91a52778f9205 (diff) | |
| download | nvim-conf-2e87884a0df6f966d1e2422395e5662bf14d5a81.tar.gz nvim-conf-2e87884a0df6f966d1e2422395e5662bf14d5a81.zip | |
feat: add nix & server, add parts for home manager
Diffstat (limited to 'lua/config/utils.lua')
| -rw-r--r-- | lua/config/utils.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/config/utils.lua b/lua/config/utils.lua new file mode 100644 index 0000000..ebb3eeb --- /dev/null +++ b/lua/config/utils.lua @@ -0,0 +1,7 @@ +local M = {} + +M.use_local = function (name) + return vim.fn.isdirectory(vim.fn.expand("~/code/plugins/").. name) == 1 +end + +return M |