mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Possible string literals that have to be replaced
This commit is contained in:
parent
8943a13d9b
commit
0f9ca8d7fa
@ -2522,8 +2522,8 @@ do_source (
|
||||
*/
|
||||
p = path_tail(fname_exp);
|
||||
if ((*p == '.' || *p == '_')
|
||||
&& (STRICMP(p + 1, "vimrc") == 0
|
||||
|| STRICMP(p + 1, "gvimrc") == 0
|
||||
&& (STRICMP(p + 1, "nvimrc") == 0
|
||||
|| STRICMP(p + 1, "ngvimrc") == 0
|
||||
|| STRICMP(p + 1, "exrc") == 0)) {
|
||||
if (*p == '_')
|
||||
*p = '.';
|
||||
|
Loading…
Reference in New Issue
Block a user