treesit-auto
lsp-tailwindcss
treesit-auto | lsp-tailwindcss | |
---|---|---|
8 | 6 | |
327 | 169 | |
- | - | |
8.3 | 3.4 | |
21 days ago | 7 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | 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.
treesit-auto
-
Setting up Doom Emacs for Astro Development
Or you can take the red pill and use treesit-auto and automatically install the language grammar.
- treesit-auto: Automatic installation, usage, and fallback for tree-sitter major modes in Emacs 29
-
How to use tree-sitter for syntax highlighting in Emacs 29+?
So far I've been using tree-sitter.el with the tree-sitter-hl-mode for syntax highlighting. As far as I understand, Tree Sitter is now built-into Emacs 29 and above as treesit (https://github.com/emacs-mirror/emacs/blob/master/admin/notes/tree-sitter/starter-guide), which makes tree-sitter.el obsolete. There is also this package https://github.com/renzmann/treesit-auto which seems to handle the installation, mapping and activation of the language modes.
-
Emacs 29 included tree-sitter doesn't highlight as much as third party tree-sitter package
If you want it to use the ts modes by default then you'll have to adjust the major-mode-remap-alist variable. Or give the treesit-auto package a shot.
- treesit-auto: Automatically pick between TreeSitter and default major modes in Emacs 29+
-
(Small) breaking changes in treesit-auto 0.5
Over the last couple weeks while putting the treesit-auto package together it gained adoption much faster than I had expected. While I'm incredibly happy others found it useful, that also means that many assumptions in my hacky code were quickly blown apart. Also, in no small part due to my poor documentation, it was confusing to figure out exactly how/what would be supported when trying to add a new language.
-
treesit-auto 0.3: Now with automatic installation of tree-sitter grammars
GitHub for treesit-auto Original announcement of treesit-auto Blog post that inspired treesit-auto
-
Getting Emacs 29 to Automatically Use Tree-sitter Modes ยท robbmann
/u/casouri posted an article recently about getting started with tree-sitter. Unfortunately, it mentioned that automatic switching between those tree-sitter modes and the default modes (e.g. between python-mode and python-ts-mode won't be coming just yet, but there was a suggested workaround. I took a slightly different approach from what was outlined, and wound up with treesit-auto.el, which is customizable, and I think hits all the intended behavior.
lsp-tailwindcss
-
Setting up Doom Emacs for Astro Development
Of course, there's already a package for TailwindCSS using LSP. With Doom Emacs installation instructions as well!
-
Emacs 29 is nigh What can we expect?
As far as out-of-the-box support, I think it works great. Much easier to configure than lsp-mode.
However, for my uses with a Ruby/React+TSX setup the performance was lacking on a large codebase. I swapped back to lsp-mode and the experience felt smoother.
IIRC the author's stance on previous discussions around multiple language servers was to rely on flymake instead, since the previous discussion centered around ESLint + TypeScript. Tailwind is a bit of an issue in the ecosystem right now, but you may want to try https://github.com/merrickluo/lsp-tailwindcss.
-
I need help with lsp-mode setup
I am trying to use lsp-mode for ruby via solargraph and for Rails era templates using web-mode via lsp-tailwindcss and both seems to kinda sorta work but neither one is really giving me all the features that I see that others have.
- lsp-tailwindcss: the lsp-mode client for tailwindcss
-
Show colors in company-mode
There is https://github.com/merrickluo/lsp-tailwindcss and AFAIK it shows colors but Im not 100% sure. Need to check it when I'm back home.
-
Adding a specific package as a module (.doom.d/modules/) unbinds the default for Projectile's switch project `C-c p p` and persp-mode's persp-prev takes it instead. Don't know how to debug this.
This past September I reported to lsp-tailwindcss that their package somehow unbind C-c p p from projectile-switch-project, the developer was clueless since their package indeed does not define keys or anything, I had no remedy than deactivating it.
What are some alternatives?
tree-sitter-module - Building script for tree-sitter language definitions
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
GNU Emacs - Mirror of GNU Emacs
tailwindcss-intellisense - Intelligent Tailwind CSS tooling for Visual Studio Code
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
toggleterm.nvim - A neovim lua plugin to help easily manage multiple terminal windows
tree-sitter - An incremental parsing system for programming tools
dotfiles - My personal dotfiles for my linux desktop
doomemacs - An Emacs framework for the stubborn martian hacker