lite-xl / lite-xl-lsp

LSP Plugin for Lite XL editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exists a way to get ir working with pyright?

erickod opened this issue · comments

Hi guys!
I'm trying do get it working with pyright to get typing hints. The settings I made are below:

lspconfig.pyright = add_lsp {
  name = "pyright",
  language = "python",
  file_patterns = { "%.py$" },
  command = { 'pyright-langserver', '--stdio' },
  verbose = true,
}

Despite the lsp started, I can't get any data from it in the lite-xl. I need some help.

You can now try to install lsp_python with lpm, which should simplify the setup process to just installing that plugin.

Feel free to reopen if you find difficulties when using lsp_python.