Browse Source

add python lsp config

pull/174/head
nshen 3 years ago
parent
commit
0aa53f33d6
  1. 5
      lua/lsp/config/pyright.lua
  2. 1
      lua/lsp/setup.lua

5
lua/lsp/config/pyright.lua

@ -0,0 +1,5 @@
return {
on_setup = function(server)
server:setup({})
end,
}

1
lua/lsp/setup.lua

@ -6,6 +6,7 @@ local lsp_installer = require("nvim-lsp-installer")
-- https://github.com/williamboman/nvim-lsp-installer#available-lsps
local servers = {
sumneko_lua = require("lsp.config.lua"), -- lua/lsp/config/lua.lua
pyright = require("lsp.config.pyright")
-- rust_analyzer = require("lsp.lang.rust"),
-- jsonls = require("lsp.lang.json"),
-- tsserver = require("lsp.config.ts"),

Loading…
Cancel
Save