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