diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmal.com> | 2023-01-26 09:02:43 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmal.com> | 2023-01-26 09:02:43 +0100 |
| commit | 1cede2a27c689e69692c15528e442598aaa4e1f6 (patch) | |
| tree | c8f56327f12ed29b2f8c814f5fc314785fb49993 /lua/config | |
| parent | 286ed241d3833d419886c49f9d32a4ce9dbaaeba (diff) | |
| download | nvim-conf-1cede2a27c689e69692c15528e442598aaa4e1f6.tar.gz nvim-conf-1cede2a27c689e69692c15528e442598aaa4e1f6.zip | |
feat: use the new fallback from lazy, remove local function
Diffstat (limited to 'lua/config')
| -rw-r--r-- | lua/config/lazy.lua | 3 | ||||
| -rw-r--r-- | lua/config/utils.lua | 7 |
2 files changed, 2 insertions, 8 deletions
diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 709eab0..8c38336 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -17,7 +17,8 @@ require("lazy").setup({ }, checker = { enabled = true, notify = false }, dev = { - path = "~/code/plugins" + path = "~/code/plugins", + fallback = true, }, performance = { rtp = { diff --git a/lua/config/utils.lua b/lua/config/utils.lua deleted file mode 100644 index ebb3eeb..0000000 --- a/lua/config/utils.lua +++ /dev/null @@ -1,7 +0,0 @@ -local M = {} - -M.use_local = function (name) - return vim.fn.isdirectory(vim.fn.expand("~/code/plugins/").. name) == 1 -end - -return M |