diff options
author | Christian Clason <christian.clason@uni-due.de> | 2021-09-12 10:55:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-12 10:55:35 +0200 |
commit | 4a7a99ff31557bea7da09466547ff2dc1e337729 (patch) | |
tree | ef233bd9f83e09e245f91c741c5b1819ffab6cdd /src/nvim/option.c | |
parent | cd4ec810e9f60024518405f50991d34a2c5af325 (diff) | |
parent | d3c6f1ebbb528dd526daa6b3cbf3007d65f2af17 (diff) | |
download | rneovim-4a7a99ff31557bea7da09466547ff2dc1e337729.tar.gz rneovim-4a7a99ff31557bea7da09466547ff2dc1e337729.tar.bz2 rneovim-4a7a99ff31557bea7da09466547ff2dc1e337729.zip |
Merge pull request #15550 from jasonccox/vim-8.2.3385
vim-patch:8.2.3385,8.2.3393
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 23b488ea68..fb7a0446b6 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -7644,6 +7644,12 @@ int csh_like_shell(void) return strstr((char *)path_tail(p_sh), "csh") != NULL; } +/// Return true when 'shell' has "fish" in the tail. +bool fish_like_shell(void) +{ + return strstr((char *)path_tail(p_sh), "fish") != NULL; +} + /// Return the number of requested sign columns, based on current /// buffer signs and on user configuration. int win_signcol_count(win_T *wp) |