mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
neovim: set g:loaded_python_provider = 0
This commit is contained in:
parent
ceb01fb12d
commit
e349b77943
@ -58,10 +58,11 @@ let
|
|||||||
# add to nvim's 'embedded rc' this:
|
# add to nvim's 'embedded rc' this:
|
||||||
# let g:<key>_host_prog=$out/bin/nvim-<key>
|
# let g:<key>_host_prog=$out/bin/nvim-<key>
|
||||||
# Or this:
|
# Or this:
|
||||||
# let g:loaded_${prog}_provider=1
|
# let g:loaded_${prog}_provider=0
|
||||||
# While the latter tells nvim that this provider is not available
|
# While the latter tells nvim that this provider is not available
|
||||||
hostprog_check_table = {
|
hostprog_check_table = {
|
||||||
node = withNodeJs;
|
node = withNodeJs;
|
||||||
|
python = false;
|
||||||
python3 = withPython3;
|
python3 = withPython3;
|
||||||
ruby = withRuby;
|
ruby = withRuby;
|
||||||
};
|
};
|
||||||
@ -107,7 +108,7 @@ let
|
|||||||
if withProg then
|
if withProg then
|
||||||
"let g:${prog}_host_prog='${placeholder "out"}/bin/nvim-${prog}'"
|
"let g:${prog}_host_prog='${placeholder "out"}/bin/nvim-${prog}'"
|
||||||
else
|
else
|
||||||
"let g:loaded_${prog}_provider=1"
|
"let g:loaded_${prog}_provider=0"
|
||||||
;
|
;
|
||||||
|
|
||||||
# to keep backwards compatibility
|
# to keep backwards compatibility
|
||||||
|
Loading…
Reference in New Issue
Block a user