Help with lsp-config, pyright, 'cannot access member x for type y'

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • mason.nvim

    Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.

  • What’s happening here is that kickstart uses a plugin that handles LSP installation for you. This plugin is mason.nvim and when you pair it with mason-lspconfig, what happens is that nvim-lspconfig actually uses the servers installed by Mason instead of looking for servers in your regular path that you might have installed on you own with your package manager for example.

  • mason-lspconfig.nvim

    Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.

  • What’s happening here is that kickstart uses a plugin that handles LSP installation for you. This plugin is mason.nvim and when you pair it with mason-lspconfig, what happens is that nvim-lspconfig actually uses the servers installed by Mason instead of looking for servers in your regular path that you might have installed on you own with your package manager for example.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pyright

    Static Type Checker for Python

  • Pyright can be configured through a file named pyrightconfig.json at the root of the code repository: https://github.com/microsoft/pyright/blob/main/docs/configuration.md I found that link from Pyright's README: https://github.com/microsoft/pyright

  • null-ls.nvim

    Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

  • Personally I don’t use linters inside of the editor itself, but I do use formatters. For that I use null-ls which also works for linters, and allows you to configure them (eg. pass arguments to the binary) and hooks them as regular language servers, so you could look into that. The formatters can also be installed through mason but there’s also this plugin which says it’s a bridge to use mason and null-ls (I haven’t tried it, for me things just work with mason and null-ls).

  • mason-null-ls.nvim

  • Personally I don’t use linters inside of the editor itself, but I do use formatters. For that I use null-ls which also works for linters, and allows you to configure them (eg. pass arguments to the binary) and hooks them as regular language servers, so you could look into that. The formatters can also be installed through mason but there’s also this plugin which says it’s a bridge to use mason and null-ls (I haven’t tried it, for me things just work with mason and null-ls).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Replacing plugins with Mason.nvim

    2 projects | /r/neovim | 15 Nov 2022
  • what plugin added the breadcrumb/context info to the winbar?

    5 projects | /r/neovim | 14 May 2023
  • override vim.notify to fix offset_encodings warning

    2 projects | /r/AstroNvim | 8 May 2023
  • How to setup prettier with lsp?

    2 projects | /r/neovim | 30 Apr 2023
  • How can I get the return type of a function?

    2 projects | /r/neovim | 19 Apr 2023