Remove package.path hacks

This commit is contained in:
Dheepak Krishnamurthy
2020-04-06 17:10:36 -06:00
parent 419158b5e0
commit 130cdb74dd

View File

@@ -17,11 +17,6 @@ endif
lua require 'lazygit'.setup()
let s:lazygit_lua_loc = expand('<sfile>:h:r') . '/../lua/'
exe "lua package.path = package.path .. ';". s:lazygit_lua_loc."?/init.lua'"
exe "lua package.path = package.path .. ';". s:lazygit_lua_loc."?.lua'"
command! LazyGit lua require'lazygit'.lazygit()
""""""""""""""""""""""""""""""""""""""""""""""""""""""