diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2024-02-29 14:09:14 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2024-02-29 14:09:14 -0300 |
| commit | c34d4613bb1016f395762983d03a995477d5785d (patch) | |
| tree | cf8b83e5d14ffc39985e79d03a05be249594075f /lua/alpha/lsp/servers/python.lua | |
| parent | 4024bd9e9cc524db71cf1b7ece5a07d93eda85db (diff) | |
| download | nvim-conf-c34d4613bb1016f395762983d03a995477d5785d.tar.gz nvim-conf-c34d4613bb1016f395762983d03a995477d5785d.zip | |
Estable
Diffstat (limited to 'lua/alpha/lsp/servers/python.lua')
| -rw-r--r-- | lua/alpha/lsp/servers/python.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/alpha/lsp/servers/python.lua b/lua/alpha/lsp/servers/python.lua new file mode 100644 index 0000000..6cdbf9e --- /dev/null +++ b/lua/alpha/lsp/servers/python.lua @@ -0,0 +1,16 @@ +local lsp_attach = require "alpha.lsp.attach" +local lsp_flags = require "alpha.lsp.flags" +return function (ops) + return vim.tbl_extend("force", { + on_attach = lsp_attach, + flags = lsp_flags, + settings = { + ["pyright"] = { + disableOrganizeImports = false, + disableDiagnostics = false, + disableLanguageServices = false, + typeCheckingMode = "strict", + } + } + }, ops) +end |