diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-05-28 11:57:23 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-05-28 11:57:23 +0100 |
| commit | ed7eee18e3833dba8ef02e3a669a582f527bcafd (patch) | |
| tree | e8749f1618d60a479d49f43acb52c66cd9a4e495 /lua/user/lsp/lsp-installer.lua | |
| parent | 6fbc8c23123a6b44590a3fa6c656c2f5b98ae89e (diff) | |
| parent | deaf6a9824ff47756379c00f430e784f059b581c (diff) | |
Merge branch 'vgg' into 11-gitsigns11-gitsigns
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) |
