From 64c92771be9e212eb965ad0c4f589890916a50b2 Mon Sep 17 00:00:00 2001 From: Thomas Blauth Date: Sun, 16 Jan 2022 18:33:29 +0100 Subject: [PATCH] Fix added_sys_path default setting This commit removes the inner string quotation of the default value for the added_sys_path setting. The inner quotes cause the value of the resulting variable g:jedi#added_sys_path to be the sting "[]" instead of an empty list. --- AUTHORS.txt | 1 + autoload/jedi.vim | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 0f745da..d7ef056 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -55,5 +55,6 @@ Brian Mego (@brianmego) Stevan Milic (@stevanmilic) Konstantin Glukhov (@Konstantin-Glukhov) Seungchan An (@SeungChan92) +Thomas Blauth (@ThomasBlauth) @something are github user names. diff --git a/autoload/jedi.vim b/autoload/jedi.vim index 51dcf64..e777f91 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -36,7 +36,7 @@ let s:default_settings = { \ 'quickfix_window_height': 10, \ 'force_py_version': "'auto'", \ 'environment_path': "'auto'", - \ 'added_sys_path': "'[]'", + \ 'added_sys_path': '[]', \ 'project_path': "'auto'", \ 'smart_auto_mappings': 0, \ 'use_tag_stack': 1