Mercurial > vim
diff src/if_py_both.h @ 8524:2f57bbe870ea v7.4.1552
commit https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 12 22:11:39 2016 +0100
patch 7.4.1552
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Mar 2016 22:15:05 +0100 |
parents | 3f7382858d4d |
children | c337c813c64d |
line wrap: on
line diff
--- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -1061,7 +1061,7 @@ VimForeachRTP(PyObject *self UNUSED, PyO data.callable = callable; data.result = NULL; - do_in_runtimepath(NULL, FALSE, &map_rtp_callback, &data); + do_in_runtimepath(NULL, 0, &map_rtp_callback, &data); if (data.result == NULL) { @@ -1150,7 +1150,7 @@ Vim_GetPaths(PyObject *self UNUSED) if (!(ret = PyList_New(0))) return NULL; - do_in_runtimepath(NULL, FALSE, &map_finder_callback, ret); + do_in_runtimepath(NULL, 0, &map_finder_callback, ret); if (PyErr_Occurred()) {