diff options
-rwxr-xr-x | run_vim.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -19,7 +19,9 @@ if os.environ["TERM"] in ["alactritty", "xterm-256color"]: # For now, treat all arguments that don't start with - or + as filenames. This # is good enough to recognize '-f' and `+11`, which is all this script really # needs right now. -filenames = [arg for arg in sys.argv[1:] if not arg[0] in ['-', '+']] +filenames = [ + os.path.abspath(arg) for arg in sys.argv[1:] if not arg[0] in ['-', '+'] +] try: nvim_socket = os.environ["NVIM"] |