Commit Graph

2 Commits (bcbad25e78df8d46945fe04a6768d0f0bd43b3df)

Author SHA1 Message Date
Thor Adam 346ddd4735
Add `switch_statement` to ecma indents (#6369) 2023-03-21 17:13:32 -05:00
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.
2022-08-03 14:09:44 +09:00