combobulate
indent-blankline.nvim
Our great sponsors
combobulate | indent-blankline.nvim | |
---|---|---|
16 | 71 | |
814 | 3,732 | |
- | - | |
9.3 | 8.5 | |
9 days ago | about 1 month ago | |
Emacs Lisp | Lua | |
GNU General Public License v3.0 only | MIT License |
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.
combobulate
-
Emacs 29.1 Released
Eh, I've been looking and haven't found anything for other editors that actually tries to use TreeSitter for anything beyond highlighting. The Emacs structural editing packages are still very WIP but at least they exist.
(And also some have been based on the out of tree implementation that's been around for a while now)
Example: https://github.com/mickeynp/combobulate
-
Indent with tree-sitter is nice
Looking at https://github.com/mickeynp/combobulate/blob/master/combobulate-python.el, it at the very least delegates to python-indent-calculate-levels, so the logic is mixed.
- Paredit-like features in non-lisp modes?
-
Could you guys share your experience with different python dev set-ups (elpy, lsp, etc)? What is more simple/beginer friendly?
I went from an old config rich setups from before lsp's to lsp-mode ones etc... Right now I would say that eglot + pylsp gives you the best experience, you can use pyenv and pyvenv mode to manage your virtual environments. Now that treesitter is also being used you can try out https://github.com/mickeynp/combobulate
-
ts-movement: a package to navigate the tree-sitter syntax tree (supports multiple-cursors)
I think the following packages would fit your wishlist, as it is very similar to mine. As mentioned in the replies, there is (https://github.com/magnars/expand-region.el) and (https://github.com/mickeynp/combobulate). I regularly use (https://github.com/Fuco1/smartparens).
-
noob question about tree-sitter in the presence of lsp-mode
re syntactic text objects: https://github.com/mickeynp/combobulate
-
paredit based on treesitter
I haven't used it, but based on the description, it looks like combobulate would be an example of this:
-
Ask HN: S/W development text editor have feature colorizing every iteration?
from github README.rst "Emacs package that provides a standardized framework for manipulating and navigating your source code using tree sitter's concrete syntax tree " -> https://github.com/mickeynp/combobulate
https://www.spacemacs.org/ with https://github.com/emacs-tree-sitter/elisp-tree-sitter then write a iterator/loop query for language(s) editing per https://tree-sitter.github.io/tree-sitter/syntax-highlightin...
tad less installation heavy (sorta) but also makes use of tree-sitter syntax queries : https://www.lunarvim.org (neovim with treesitter syntax)
blockman usage examples: https://www.youtube.com/channel/UC5539gDeAdWqeXcczWuhnBA
Alternative examples / takes (per user interface):
### embedding a block of source code in a document:
** carrotsearch.gethub.io/apidocs/code-blocks
-
Commercial-Emacs
I don't know what this fork brings to table, but you could try tree-sitter today with your vanilla Emacs using a package[1] that works via dynamic module.
Personally I am more interested in getting structural selection and navigation reliably working for any language. There is also a package named combobulate[2] to help with that.
[1] https://emacs-tree-sitter.github.io/
[2] https://github.com/mickeynp/combobulate
-
tree-sitter highlighting rocks
TIL https://github.com/mickeynp/combobulate Thank you, @snafuchs !
indent-blankline.nvim
-
Use the builtin `listchars` option to implement minimalistic indent guides
Compared to the feature-rich plugins, this simple implementation has many drawbacks, such as not displaying indent guides on empty lines. I think its only advantage might be its extreme simplicity. Yes, I pursue minimalism so I wrote this piece of code. For a better (maybe best) and more comprehensive experience, please check indent-blankline.nvim.
-
Background highlight opacity?
Hi, I am wondering if anyone knows if it's possible to set background highlight opacity. The reason I want to do this is because I have a partially transparent background in my terminal and I would like to set highlights for indent blankline. I have tried using the `blend` option for the highlights but I think it only works for popup menus and windows?
-
How to only load a plugin when a function is called (Plugged)?
you're better off relying on the plugin author to add per-filetype/buffer options to disable the functionality of the plugin, for example if the plugin in question is indent-blankline.nvim then you can set g:indent_blankline_enabled to false and within that function you mention, you can set b:indent_blankline_enabled to true.
- Looking For A Plugin For Indentations
-
Treesitter Error: attempt to index local 'query' (a nil value)
i think it's indent-blankline
- Is there a way to get these vertical code boundaries (vertical lines showing blocks of code) like in vscode ?
-
Looking for some kinda specific plugins for visibility
https://github.com/lukas-reineke/indent-blankline.nvim complements further.
-
Color scheme changes when rust_analyzer finishes
I think he meant the indent guides? In which case the best plugin is https://github.com/lukas-reineke/indent-blankline.nvim
-
How to add code block margin line in neovim?
You are looking for the indent-blankline plugin
-
darkrose.nvim - a low-contrast colorscheme based on rose colors for dark theme lovers
I use indent-blankline.nvim for them, which is also supported by my plugin.
What are some alternatives?
tree-sitter-org - Org grammar for tree-sitter
indentLine - A vim plugin to display the indention levels with thin vertical lines
evil-textobj-tree-sitter - Tree-sitter powered textobjects for evil mode in Emacs
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
tree-sitter-norg - A TreeSitter parser for the Neorg File Format
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
commercial-emacs - "Evil will always triumph, because good is dumb." -- Spaceballs (1987)
indent-guides.nvim
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim.
nvim-treesitter-refactor - Refactor module for nvim-treesitter
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
tree-sitter - An incremental parsing system for programming tools