diff options
| author | Fau818 <75115028+Fau818@users.noreply.github.com> | 2023-03-26 16:09:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-26 16:09:16 +0800 |
| commit | cb1f426f99d91df2d1c29d1f72827747cd6e7e96 (patch) | |
| tree | 88a4926aa0ba229155b5931610fe559655aa12ae /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-cb1f426f99d91df2d1c29d1f72827747cd6e7e96.tar nvim-lspconfig-cb1f426f99d91df2d1c29d1f72827747cd6e7e96.tar.gz nvim-lspconfig-cb1f426f99d91df2d1c29d1f72827747cd6e7e96.tar.bz2 nvim-lspconfig-cb1f426f99d91df2d1c29d1f72827747cd6e7e96.tar.lz nvim-lspconfig-cb1f426f99d91df2d1c29d1f72827747cd6e7e96.tar.xz nvim-lspconfig-cb1f426f99d91df2d1c29d1f72827747cd6e7e96.tar.zst nvim-lspconfig-cb1f426f99d91df2d1c29d1f72827747cd6e7e96.zip | |
fix(pyright): remove`useLibraryCodeForTypes` config (#2522)
* fix(pyright): set `useLibraryCodeForTypes` to false
See [pyright/docs/settings.md](https://github.com/microsoft/pyright/blob/main/docs/settings.md)
* refactor(pyright): remove `useLibraryCodeForTypes`
Make sure the default value is used.
See [pyright/docs/settings.md](https://github.com/microsoft/pyright/blob/main/docs/settings.md)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/pyright.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/pyright.lua b/lua/lspconfig/server_configurations/pyright.lua index 1bd3dbb6..561b1ab1 100644 --- a/lua/lspconfig/server_configurations/pyright.lua +++ b/lua/lspconfig/server_configurations/pyright.lua @@ -45,7 +45,6 @@ return { python = { analysis = { autoSearchPaths = true, - useLibraryCodeForTypes = true, diagnosticMode = 'workspace', }, }, |
