tree-sitter-typescript
TypeScript grammar for tree-sitter (by tree-sitter)
vim-scriptease
scriptease.vim: A Vim plugin for Vim plugins (by tpope)
tree-sitter-typescript | vim-scriptease | |
---|---|---|
11 | 7 | |
387 | 674 | |
4.1% | - | |
8.2 | 3.2 | |
about 1 month ago | about 1 year ago | |
JavaScript | Vim Script | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
tree-sitter-typescript
Posts with mentions or reviews of tree-sitter-typescript.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-14.
-
Mastering JSX Editing in Emacs with Tree-sitter
Now, let's dive into some practical editing functions implemented using Tree-sitter. Keep in mind that all the functions are specific to the tree-sitter-typescript parser and only work in the Emacs 29 built-in tsx-ts-mode.
- Let's write an Emacs treesitter major mode
-
How to make `goto_next_test` and `goto_prev_test` work?
I believe goto_next_test requires support from the tree-sitter parser, specifically tree-sitter-javascript in the case of JS and tree-sitter-typescript in the case of TS.
- Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
- Building tree-sitter languages for Emacs
-
Is there an official language spec and/or lexical grammar for TS?
If you need to do efficient AST operations, have you considered treesitter? There is a typescript grammar available https://github.com/tree-sitter/tree-sitter-typescript
- tree-sitter-typescript: TypeScript grammar for tree-sitter
-
Really sick of the shoddy jsx/tsx handling....would anyone be willing to help me write a major-mode for it?
I am curious though, why did you write your own indentation tool? (It works super well btw, amazing work) I thought tree-sitter supported tsx (and found repos like this) so just wondering if you tried those and they didn't work so you wrote your own.
-
Treesitter : Proposal for more precise syntax highlighting
Please have a look at it - https://github.com/tree-sitter/tree-sitter-typescript/issues/177
-
Plugins to help writing a new tree-sitter parser?
You can see a much more in-depth version at https://github.com/tree-sitter/tree-sitter-typescript or https://github.com/tree-sitter/tree-sitter-rust
vim-scriptease
Posts with mentions or reviews of vim-scriptease.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-28.
-
How do you read long messages in :messages
I use tpope/vim-scriptease's :Messages instead.
-
highlight command in init,lua
Another great tool is the Scriptnames command from the vim-scriptease plugin. It dumps the output of :scriptnames into the quickfix list, letting you open all the files vim is reading to help with troubleshooting.
-
Help Fixing Plugin ( Syntax Plugin ) + RegEx
And the tpope extension comes in handy: https://github.com/tpope/vim-scriptease
- Plugin developers, how do you manage your repos?
-
How I made my First Successful Vim Plugin
As you continue your journey into vim plugin dev, I'd recommend vim-lookup and vim-scriptease.
-
vim-visualrun: select some lines and run them as a Vim command
This seems related to the g= mapping from vim-scriptease. I personally also have the following two mappings defined in ftplugin/vim.vim:
-
Visual calculator function
FYI, tpope/vim-scriptease provides this bound as an operator g=. You may want to read that implementation to see what you can learn more advanced techniques for writing vimscript. With the operator, you can g=W to convert the WORD to a solved expression.
What are some alternatives?
When comparing tree-sitter-typescript and vim-scriptease you can also consider the following projects:
tree-sitter-haskell - Haskell grammar for tree-sitter.
conjure - Interactive evaluation for Neovim (Clojure, Fennel, Janet, Racket, Hy, MIT Scheme, Guile, Python and more!)
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
swc - Rust-based platform for the Web
vimspector - vimspector - A multi-language debugging system for Vim
tsi.el - treesitter-based indendentation for emacs 28 and 27
vim-enmasse - Edit every line in a quickfix list at the same time
vim-jsx-typescript - React JSX syntax highlighting for vim and Typescript
vim-evalvim - Evaluate VimL
tree-sitter-c-sharp - C# Grammar for tree-sitter
tree-sitter-typescript vs tree-sitter-haskell
vim-scriptease vs conjure
tree-sitter-typescript vs nvim-treesitter
vim-scriptease vs aniseed
tree-sitter-typescript vs swc
vim-scriptease vs vimspector
tree-sitter-typescript vs tsi.el
vim-scriptease vs vim-enmasse
tree-sitter-typescript vs vim-jsx-typescript
vim-scriptease vs vim-evalvim
tree-sitter-typescript vs tree-sitter-c-sharp
vim-scriptease vs vim-jsx-typescript