Dotfiles_nvim/lua/util/finder.lua

8 lines
155 B
Lua
Raw Normal View History

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