Skip to content

rest-nvim/tree-sitter-http

Repository files navigation

HTTP tree-sitter parser

HTTP grammar for tree-sitter

How to contribute

You can get a development environment with nix develop then run:

npm install
make build

Neovim loads parser in runtimepath order so to test the generated grammar, prepend it to rtp with set rtp^=/path/to/tree-sitter-http.

Tasks

  • variable
  • comment
  • request
    • method
    • target_url
      • scheme
      • authority
      • host
      • path /
      • query ?
      • fragment #
    • http-version
    • params
    • response
    • header
    • body
      • json
      • xml
      • file
      • graphql
  • cli