diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-09-18 17:14:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 17:14:25 +0200 |
commit | 6cad86fffdb91d3997a707ff6adb0b5991587b3e (patch) | |
tree | b929329658316d6a8a7aead01f0b701c0e278fca /src/nvim/ex_cmds2.c | |
parent | 8ef2b56cac895c151345cf0ff0a97456c0a7fdd2 (diff) | |
parent | a860f7880fd5d5cef5299ff8d450ac037bee2300 (diff) | |
download | rneovim-6cad86fffdb91d3997a707ff6adb0b5991587b3e.tar.gz rneovim-6cad86fffdb91d3997a707ff6adb0b5991587b3e.tar.bz2 rneovim-6cad86fffdb91d3997a707ff6adb0b5991587b3e.zip |
Merge pull request #15632 from bfredl/rtptest
runtime: always use DIP_START and remove duplication of start packages in &rtp
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 6542ab41f5..575c5c9cbd 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -1641,10 +1641,10 @@ void ex_compiler(exarg_T *eap) do_unlet(S_LEN("b:current_compiler"), true); snprintf((char *)buf, bufsize, "compiler/%s.vim", eap->arg); - if (source_in_path(p_rtp, buf, DIP_ALL) == FAIL) { + if (source_runtime(buf, DIP_ALL) == FAIL) { // Try lua compiler snprintf((char *)buf, bufsize, "compiler/%s.lua", eap->arg); - if (source_in_path(p_rtp, buf, DIP_ALL) == FAIL) { + if (source_runtime(buf, DIP_ALL) == FAIL) { EMSG2(_("E666: compiler not supported: %s"), eap->arg); } } |