oxalica
4094e3a040
Handle words containing bare '#' (#109)
* Handle words containing bare '#' Only a word beginning with a '#' starts a comment. A word can contain '#' character without escaping as long as it is not the first character. See: Bash Reference Manual section '3.1.3 Comments' https://www.gnu.org/software/bash/manual/bash.html#Comments * Regenerate
tree-sitter-bash
Bash grammar for tree-sitter.
Development
Install the dependencies:
npm install
Build and run the tests:
npm run build
npm run test
Run the build and tests in watch mode:
npm run test:watch
References
Description
Languages
JavaScript
70.9%
Rust
16.6%
C++
5%
Scheme
3.3%
Shell
2.2%
Other
2%