aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/plugins.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2023-01-12 15:59:01 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2023-01-12 15:59:01 +0100
commitf28c3bd2e960b4455ef190bd80a8bbd57afbca13 (patch)
tree8b14f7df2ef32b98dd172d3f57355ae9a9ac1a51 /lua/alpha/plugins.lua
parent3ada6b4267f29a09c8bc240c2a75b194d51ff008 (diff)
downloadnvim-conf-f28c3bd2e960b4455ef190bd80a8bbd57afbca13.tar.gz
nvim-conf-f28c3bd2e960b4455ef190bd80a8bbd57afbca13.zip
feat: change rofi run, fix mind directory detection
Diffstat (limited to 'lua/alpha/plugins.lua')
-rw-r--r--lua/alpha/plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/alpha/plugins.lua b/lua/alpha/plugins.lua
index b8037ed..56ef6f8 100644
--- a/lua/alpha/plugins.lua
+++ b/lua/alpha/plugins.lua
@@ -266,7 +266,7 @@ return require("packer").startup(function(use)
cmd = { "MindOpenMain", "MindOpenProject" },
config = function ()
local dirs = {}
- if vim.fn.isdirectory("/mnt/nas/alpha/mind/data") then
+ if vim.fn.isdirectory("/mnt/nas/alpha/mind/data") ~= 0 then
dirs = {
state_path = "/mnt/nas/alpha/mind/mind.json",
data_dir = "/mnt/nas/alpha/mind/data",