Add neovim-remote section to the README.md

This commit is contained in:
Dheepak Krishnamurthy
2020-04-05 13:54:34 -06:00
parent 3759d6ab85
commit a4ef118f32
2 changed files with 15 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ function open_floating_window()
end
local function project_root_dir()
return fn.finddir('.git/..', fn.expand('%:p:h') .. ';')
return fn.system('cd ' .. fn.expand('%:p:h') .. ' && git rev-parse --show-toplevel 2> /dev/null')
end
local function execute(cmd, ...)