mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -8161,13 +8161,13 @@ size_t copy_option_part(char_u **option, char_u *buf, size_t maxlen, char *sep_c
|
||||
/// Return true when 'shell' has "csh" in the tail.
|
||||
int csh_like_shell(void)
|
||||
{
|
||||
return strstr((char *)path_tail(p_sh), "csh") != NULL;
|
||||
return strstr(path_tail((char *)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 strstr(path_tail((char *)p_sh), "fish") != NULL;
|
||||
}
|
||||
|
||||
/// Return the number of requested sign columns, based on current
|
||||
|
Reference in New Issue
Block a user