Skip to content

Commit

Permalink
Use xdg-open as a fallback if available 🪟
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeinhardt committed Apr 10, 2023
1 parent fe8c465 commit d9337d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/ql.vim
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ elseif executable('qlmanage')
let s:cmd = 'qlmanage -p'
elseif executable('open')
let s:cmd = 'open'
elseif executable('xdg-open')
let s:cmd = 'xdg-open'
endif

function! s:exec(cmd, ...)
Expand Down

0 comments on commit d9337d2

Please sign in to comment.