Question about nvim, LSP and auto-indenting code

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
  • lsp-format.nvim

    A wrapper around Neovims native LSP formatting.

    But like the other commenter said, IF you want this via LSP, you can do it via formatting. For that there is either the built-in formatting for a server, or something null-ls or efm-langserver. Here's a good place to look for some of that: https://github.com/lukas-reineke/lsp-format.nvim

  • 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
  • nvim-treesitter

    Nvim Treesitter configurations and abstraction layer

    If you're using treesitter, you probably want to disable python's indent, see https://github.com/nvim-treesitter/nvim-treesitter/issues/1136

  • vim-python-pep8-indent

    A nicer Python indentation style for vim.

    https://github.com/Vimjas/vim-python-pep8-indent works well, but it's slow.

  • nvim-yati

    Yet another tree-sitter powered indent plugin for Neovim.

    I'm using https://github.com/yioneko/nvim-yati, which doesn't provide default configurations specific to python (especially the one mentioned in the original post), but it works reasonably in most of the other cases.

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

  • TS-Node-Action: Inline Text Folding

    3 projects | /r/neovim | 19 Jan 2023
  • (Neo)vim can apply syntax highlighting inside markdown code blocks!

    3 projects | /r/neovim | 4 Jul 2022
  • Improved C syntax highlighting for Vim

    7 projects | news.ycombinator.com | 16 Aug 2021
  • How do you fix inconsistent colorscheme (struct and class)?

    2 projects | /r/neovim | 4 Jun 2023
  • Weird indentation on python

    4 projects | /r/neovim | 3 May 2023