dotfiles/.config/nvim/lua/lsp/servers/pyright.lua

11 lines
279 B
Lua
Raw Normal View History

2022-12-24 12:33:46 -05:00
return {
filetypes = {"python"},
cmd = {vim.g.lsp_path .. "pyright-langserver", "--stdio"},
on_attach = vim.g.lsp_on_attach,
handlers = vim.g.lsp_handlers,
capabilities = require('cmp_nvim_lsp').default_capabilities(vim.g.lsp_capabilities),
}