Neovim quick file switcher

fix: Open relative paths with a git_root set

Changed files
+1 -1
lua
javelin
+1 -1
lua/javelin/ui.lua
···
local function open_buf(file)
-- nvim 0.11 only command
if vim.fn.exists("*isabsolutepath") == 1 then
-
if not vim.fn.isabsolutepath(file) then
+
if vim.fn.isabsolutepath(file) == 0 then
file = data.get_root() .. "/" .. file
end
else