Commit Graph

4 Commits (286e44050d838adcf6ff1b2bdb82653a5420cd45)

Author SHA1 Message Date
Gammut 607b426e26
Refactor queries for ecma based languages (#7207) 1 year ago
Thor Adam 346ddd4735
Add `switch_statement` to ecma indents (#6369) 2 years ago
Erasin Wang bc50502b1e
Update highlight for ecma/js/ts (#6205) 2 years ago
Michael Davis 08b442f4cc
Inherit javascript/typescript from common 'ecma' queries (#3301)
JavaScript queries now contain a few lines that prevent them from
being used whole-sale in typescript with `; inherits: javascript`.
Here we follow nvim-treesitter's way of using a fake 'ecma' language
as a common base for JavaScript and TypeScript to share as much as
we can.
2 years ago