From 737c49be10204e808c0129d93f8533b424ae4b87 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Fri, 8 Mar 2024 01:20:17 -0700 Subject: Fix borked run_vim.py --- run_vim.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_vim.py b/run_vim.py index 894b5e7..31366c1 100755 --- a/run_vim.py +++ b/run_vim.py @@ -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"] -- cgit