Merge pull request #750 from LER0ever/master

Terminal: add support for Neovim terminal emulator
This commit is contained in:
Dylan Araps 2017-06-15 21:08:06 +10:00 committed by GitHub
commit 0286317737
1 changed files with 2 additions and 0 deletions

View File

@ -1669,6 +1669,8 @@ get_term() {
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"*) break ;;
"gnome-terminal-") term="gnome-terminal" ;;
*"nvim") term="Neovim Terminal" ;;
*"NeoVimServer"*) term="VimR Terminal" ;;
*) term="${name##*/}" ;;
esac
fi