aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/provider/python.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoload/provider/python.vim')
-rw-r--r--runtime/autoload/provider/python.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/provider/python.vim b/runtime/autoload/provider/python.vim
index 052172223f..b99a046375 100644
--- a/runtime/autoload/provider/python.vim
+++ b/runtime/autoload/provider/python.vim
@@ -4,7 +4,7 @@
" Associating the plugin with the Python host is the first step because plugins
" will be passed as command-line arguments
-if get(g:, 'loaded_python_provider', 0)
+if exists('g:loaded_python_provider')
finish
endif
let g:loaded_python_provider = 1