From ba12f000ffe4d7a00b70a9a0a41fcf474ee248eb Mon Sep 17 00:00:00 2001 From: v4zha Date: Tue, 30 Aug 2022 23:42:14 +0530 Subject: [PATCH] preMod fix --- src/Vloader.hs | 2 +- vmod.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Vloader.hs b/src/Vloader.hs index ae9823d..8a55ec2 100644 --- a/src/Vloader.hs +++ b/src/Vloader.hs @@ -92,7 +92,7 @@ getModPrefix :: FilePath -> String getModPrefix modPath = let paths = map unpack $splitOn (pack "/") (pack modPath) fetchPrefix :: [String] -> Bool -> String - fetchPrefix [] False = "" + fetchPrefix [] _= "" fetchPrefix (x : xs) False | x == "lua" = fetchPrefix xs True | otherwise = fetchPrefix xs False diff --git a/vmod.yml b/vmod.yml index 33f00c9..599d1bf 100644 --- a/vmod.yml +++ b/vmod.yml @@ -1,7 +1,7 @@ #Path where Neovim lua modules are located #Eg : ~/.config/nvim/lua/v4zha mod_path: - ~/.config/nvim/lua/v4zha/ + ~/.config/nvim/lua/ #PATH to the New module_bundled lua script res_file: ~/.config/nvim/init.lua @@ -9,4 +9,4 @@ res_file: #Eg : modules : - general - - plugins \ No newline at end of file + - plugins