#!/bin/bash
if [ -e /bin/which ] && [ "`which flatpak 2>/dev/null`" ]; then
flatpak run io.neovim.nvim $@ 2>/dev/null
else
nvim $@
fi