Support neovim flatpak

This commit is contained in:
Anthony Rose 2024-12-17 13:12:37 +00:00
parent afa6a92849
commit 5e5fcdfa14

View file

@ -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"