diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-03-08 01:20:17 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-03-08 01:20:17 -0700 |
commit | 737c49be10204e808c0129d93f8533b424ae4b87 (patch) | |
tree | af63ca5a4975e146a03d7232e4056dbc9eee6ba0 /run_vim.py | |
parent | 2bfb6c49cccf097a76e302c3f924b6b1ab7c07c2 (diff) | |
download | config.vim-737c49be10204e808c0129d93f8533b424ae4b87.tar.gz config.vim-737c49be10204e808c0129d93f8533b424ae4b87.tar.bz2 config.vim-737c49be10204e808c0129d93f8533b424ae4b87.zip |
Fix borked run_vim.py
Diffstat (limited to 'run_vim.py')
-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"] |