config.nvim
vim-python-pep8-indent
config.nvim | vim-python-pep8-indent | |
---|---|---|
2 | 12 | |
5 | 779 | |
- | 0.3% | |
7.4 | 0.0 | |
7 months ago | over 1 year ago | |
Lua | Ruby | |
- | Creative Commons Zero v1.0 Universal |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
config.nvim
-
what do you guys use treesitter for?
For cool snippets. For example in C++, if I'm in a class "Foo" and I expand the snippet "cassd" (const assignment definition), it generates "Foo& operator=(Foo const& other);" (see config).
-
Share your most advanced (Lua)Snippets
The first is a collection of snippets for C++ that generate the declarations or definitions of the special member functions (move constructor etc.). The snippet uses treesitter to determine whether we are currently inside of a class or not. If we are inside of a class, it automatically gets the correct name of the surrounding class (without templates) and uses that to generate the member function. If we are outside of a class, you have to type in the name but it will still correctly strip templates in the right places with a simple regex. Showcase. Code.
vim-python-pep8-indent
-
If you have treesitter, make sure to disable smartindent to have a sane and normal indentation, especially in Python
Interesting. I’ve always used default auto-indenting and explicitly turn it off in Treesitter as I’ve found it messes it up. The ultimately improvement for me has been this plugin.
-
How to use tabs instead of spaces in python for neovim 0.9 with editorconfig
Use Vimjas/vim-python-pep8-indent and forget about all your Python headaches.
-
Weird indentation on python
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
- [Q] indentation question
-
Why autoindents never work properly with Python files?
Try this plugin for python indentation
-
Indenting for python using mason.nvim
A good old indentation plugin vim-python-pep8-indentation
-
[Q] Auto indentation for python files
The only thing that worked really well for me and which I still use is https://github.com/Vimjas/vim-python-pep8-indent
- what do you guys use treesitter for?
-
Question about nvim, LSP and auto-indenting code
https://github.com/Vimjas/vim-python-pep8-indent works well, but it's slow.
-
A few things I believe would help (neo)vim tremedously
Python requires a third party plugin to be usable, WTF?
What are some alternatives?
neotest - An extensible framework for interacting with tests within NeoVim.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
perfanno.nvim - NeoVim lua plugin that annotates source code with profiling information from perf or other profilers
nvim-autopairs - autopairs for neovim written in lua
LuaSnip - Snippet Engine for Neovim written in Lua.
vim-polyglot - A solid language pack for Vim.
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
neovim - Vim-fork focused on extensibility and usability
lsp-format.nvim - A wrapper around Neovims native LSP formatting.
vim-glsl - Vim runtime files for OpenGL Shading Language
kakoune - mawww's experiment for a better code editor
vim-qml - QML syntax highlighting for VIM