rainbow-delimiters
aggressive-indent-mode
Our great sponsors
rainbow-delimiters | aggressive-indent-mode | |
---|---|---|
6 | 7 | |
656 | 831 | |
- | - | |
2.3 | 0.0 | |
8 months ago | over 1 year ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | - |
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.
rainbow-delimiters
-
Y'all deserve a medal or something
I'm a big fan of rainbow-delimiters, available on Melpa.
-
Template Engine Minor Modes?
rainbow-delimiters ( https://github.com/Fanael/rainbow-delimiters/ ) does this for parenthesis/braces etc but is somewhat bound to the syntax tree of whatever major mode is currently in use, it also scans on a per-character basis, where I'd need to scan for regex.
-
Tree Sitter and the Complications of Parsing Languages
> Lighting up the active scopes
As you had guessed a little later, there are a few different emacs packages that do this. One of them is "rainbow parentheses" that gives every bracket a different colour (remember that emacs supports lisp, so differentiating between lots of different parentheses is arguably more useful in emacs than any other editor). [0].
Another one is highlight parentheses [1] which highlights all parens that enclose the cursor position, and gives a darker colour to those "further away" from the cursor.
[0] https://github.com/Fanael/rainbow-delimiters
[1] https://sr.ht/~tsdh/highlight-parentheses.el/
-
How We Made Bracket Pair Colorization 10,000x Faster
This article is especially interesting to me, as it shows how VS Code still doesn't have the "Emacs nature". Even though I'm a 30-year Emacs user, I do hesitate to recommend it to younger programmers because it's so alien, and VS Code has one of the essential characteristics of Emacs: the extension language and the implementation language are the same. But this article is a great example of how it doesn't — extensions are limited to using an extension API, rather than having full access to the application's internals. Maybe a good thing, if you're a mass-market product worried about malicious extensions. But I'll note that [rainbow-delimiters-mode](https://github.com/Fanael/rainbow-delimiters/) dates back to 2010, and has never noticeably slowed down loading or display of source files, even in languages with lots of delimiters like Lisp.
-
Practical questions from a lisp beginner
Using highlight-parentheses-mode, which is an additional package, helps. There are also show-paren-mode (build in) and rainbow-delimiters (additional package), whose could help there.
- Humanoid themes updated with many new faces, fixes and color adjustments; constructive feedback welcome!
aggressive-indent-mode
-
Everything in emacs is fine but daemon doesn't work
I had a similar problem yesterday and it was because of a recent bug in aggressive-indent-mode https://github.com/Malabarba/aggressive-indent-mode/pull/157
-
Anyone using code formatter for elisp?
For elisp, I have been using srefactor for a long time, but it has quite a few issues have not been update in 5 years. Most other formatters for elisp/lisp that I have seen has some subtle issues or just does not handle splitting of long lines. People also have suggested just using aggressive-indent-mode and then putting the line breaks manually, but I was hoping to avoid having to decide where/when to split long lines as well.
-
Returning all last values of loop to global namespace
See also the Aggressive Indent package: https://github.com/Malabarba/aggressive-indent-mode
-
Learning Emacs properly from scratch just because
aggressive-indent-mode
- What is your favorite text-editing package / command?
-
Practical questions from a lisp beginner
paren-face-mode can be combined with aggressive-indent-mode to help oneself focus on the indentation the way a lisper should
-
Insert below last closing paren
It's not what you are asking for, but I think https://github.com/Malabarba/aggressive-indent-mode can be helpful
What are some alternatives?
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
rainbow-blocks - block syntax highlighting in emacs
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
vscode-extension-samples - Sample code illustrating the VS Code extension API.
objed - Navigate and edit text objects with Emacs. Development on pause.
emacs.d - Fast and robust Emacs setup.
emacs-noob - A curated emacs set up intended to decrease the learning curve
electric-operator - An emacs minor mode to automatically add spacing around operators
emacs-humanoid-themes - Light and dark theme with bright colors for Emacs that supports GUI and terminal
rainbow-identifiers - Rainbow identifier highlighting for Emacs