From c34d4613bb1016f395762983d03a995477d5785d Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Thu, 29 Feb 2024 14:09:14 -0300 Subject: Estable --- lua/alpha/lsp/servers/python.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/alpha/lsp/servers/python.lua (limited to 'lua/alpha/lsp/servers') 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 -- cgit v1.2.3