aboutsummaryrefslogtreecommitdiffstats
path: root/lua/pi/lsp/servers/python.lua
blob: db561aaad038e40e8de3feb9283a0dd9282852c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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