1
0
Fork 1
Dotfiles_nvim/lua/util/finder.lua

8 lines
155 B
Lua
Raw Normal View History

2024-09-07 23:50:39 +00:00
local FINDER = {}
2024-07-02 21:52:43 +00:00
2024-09-07 23:50:39 +00:00
FINDER.project_dir = vim.fn.expand('%:p:h')
if FINDER.project_dir == '' then
FINDER.project_dir = vim.fn.getcwd()
2024-07-02 21:52:43 +00:00
end
2024-09-07 23:50:39 +00:00
return FINDER