Weird indentation on python

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rnvim

    A plug and play neovim config ⚡️💻️

  • vim-python-pep8-indent

    A nicer Python indentation style for vim.

  • I've always been very happy with vim-python-pep8-indent. But you need to enable additional_vim_regex_highlighting in treesitter which currently does not play well with spell being on. Alternatively you can rely on the indent feature of treesitter but it's currently experimental and has some issues with python: * https://github.com/nvim-treesitter/nvim-treesitter/issues/4651 * https://github.com/nvim-treesitter/nvim-treesitter/issues/4650

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • neovim

    Vim-fork focused on extensibility and usability

  • I've always been very happy with vim-python-pep8-indent. But you need to enable additional_vim_regex_highlighting in treesitter which currently does not play well with spell being on. Alternatively you can rely on the indent feature of treesitter but it's currently experimental and has some issues with python: * https://github.com/nvim-treesitter/nvim-treesitter/issues/4651 * https://github.com/nvim-treesitter/nvim-treesitter/issues/4650

  • nvim-treesitter

    Nvim Treesitter configurations and abstraction layer

  • I've always been very happy with vim-python-pep8-indent. But you need to enable additional_vim_regex_highlighting in treesitter which currently does not play well with spell being on. Alternatively you can rely on the indent feature of treesitter but it's currently experimental and has some issues with python: * https://github.com/nvim-treesitter/nvim-treesitter/issues/4651 * https://github.com/nvim-treesitter/nvim-treesitter/issues/4650

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