From ea0f4bf8ffade657b1d45152dbc183d4679e75c4 Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Fri, 12 Jul 2024 11:18:14 -0300 Subject: Feat: PI --- lua/pi/lsp/servers/python.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/pi/lsp/servers/python.lua (limited to 'lua/pi/lsp/servers/python.lua') diff --git a/lua/pi/lsp/servers/python.lua b/lua/pi/lsp/servers/python.lua new file mode 100644 index 0000000..db561aa --- /dev/null +++ b/lua/pi/lsp/servers/python.lua @@ -0,0 +1,16 @@ +local lsp_attach = require "pi.lsp.attach" +local lsp_flags = require "pi.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