Support neovim flatpak
This commit is contained in:
parent
afa6a92849
commit
5e5fcdfa14
1 changed files with 3 additions and 0 deletions
|
@ -212,6 +212,9 @@ if command -v nvim > /dev/null
|
||||||
then
|
then
|
||||||
EDITOR="nvim -f"
|
EDITOR="nvim -f"
|
||||||
alias vi=nvim
|
alias vi=nvim
|
||||||
|
elif command -v io.neovim.nvim > /dev/null
|
||||||
|
EDITOR="io.neovim.nvim -f"
|
||||||
|
alias vi=io.neovim.nvim
|
||||||
elif command -v vim > /dev/null
|
elif command -v vim > /dev/null
|
||||||
then
|
then
|
||||||
EDITOR="vim -f"
|
EDITOR="vim -f"
|
||||||
|
|
Loading…
Reference in a new issue