Skip to content

Commit

Permalink
preMod fix
Browse files Browse the repository at this point in the history
  • Loading branch information
v4zha committed Aug 30, 2022
1 parent 226bc57 commit ba12f00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Vloader.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions vmod.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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
#List the modules
#Eg :
modules :
- general
- plugins
- plugins

0 comments on commit ba12f00

Please sign in to comment.