diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-05-28 12:40:17 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-05-28 12:40:17 +0100 |
| commit | 993408daee54ae2a245b97602aaf73e6cdf3d8e1 (patch) | |
| tree | 24da27cdf2999477ebb349ad2fc9e621e1e4985e /lua/user/lsp/lsp-installer.lua | |
| parent | 24e1856862e859b60cd5b38fa6befa00f75de89a (diff) | |
| parent | 418fed300187f0cd2dbd8d8fc791dd4aa08b70fe (diff) | |
Merge branch 'vgg' into 22-autocommands22-autocommands
Diffstat (limited to 'lua/user/lsp/lsp-installer.lua')
| -rw-r--r-- | lua/user/lsp/lsp-installer.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/user/lsp/lsp-installer.lua b/lua/user/lsp/lsp-installer.lua index 2fe4af2..f539050 100644 --- a/lua/user/lsp/lsp-installer.lua +++ b/lua/user/lsp/lsp-installer.lua @@ -21,6 +21,11 @@ lsp_installer.on_server_ready(function(server) opts = vim.tbl_deep_extend("force", sumneko_opts, opts) end + if server.name == "pyright" then + local pyright_opts = require("user.lsp.settings.pyright") + opts = vim.tbl_deep_extend("force", pyright_opts, opts) + end + -- This setup() function is exactly the same as lspconfig's setup function. -- Refer to https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md server:setup(opts) |
