some tests refactoring and sep by type

This commit is contained in:
Smirnov Oleksandr 2023-02-04 17:04:12 +02:00
parent de37564c79
commit ab874c6c4f
8 changed files with 46 additions and 87 deletions

View file

@ -1,4 +1,3 @@
local function root(p)
local f = debug.getinfo(1, "S").source:sub(2)
return vim.fn.fnamemodify(f, ":p:h:h") .. "/" .. (p or "")