diff options
author | Chris <[email protected]> | 2021-03-19 22:35:58 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-19 22:35:58 -0400 |
commit | d97766b0a75c4b376ff517ca1e88abc442aed38d (patch) | |
tree | eda3a82bf649f0f406c394616573bfa84d816f93 /lua/lsp/python-ls.lua | |
parent | fa6fa14149f196e9f8052048c35cef6e5f7dff73 (diff) |
snippet stream
Diffstat (limited to 'lua/lsp/python-ls.lua')
-rw-r--r-- | lua/lsp/python-ls.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/lsp/python-ls.lua b/lua/lsp/python-ls.lua index 19de234a..e040e8ae 100644 --- a/lua/lsp/python-ls.lua +++ b/lua/lsp/python-ls.lua @@ -1,4 +1,7 @@ -- npm i -g pyright +-- local capabilities = vim.lsp.protocol.make_client_capabilities() +-- capabilities.textDocument.completion.completionItem.snippetSupport = true require'lspconfig'.pyright.setup{ on_attach = require'lsp'.common_on_attach, + -- capabilities = capabilities } |