Commit 8094a09
committed
Move plugins.jedi.extra_paths handling into Document.sys_path()
Before this commit, plugins.jedi.extra_paths configuration is used
only at execution of jedi.Script in Document.jedi_script().
Therefore, at spawning a process for other plugins (e.g pylint), such
extra paths are ignored. It might causes unintentional failure of
finding out libraries installed into those locations, even though Jedi
can find out.
After this commit, just using Document.sys_path() instead of sys.path
is enough path configuration for any plugins.1 parent 6dd3149 commit 8094a09
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | 233 | | |
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
238 | 237 | | |
239 | | - | |
240 | 238 | | |
241 | | - | |
| 239 | + | |
242 | 240 | | |
243 | 241 | | |
244 | 242 | | |
| |||
272 | 270 | | |
273 | 271 | | |
274 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
275 | 280 | | |
0 commit comments