Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

coder3101/tree-sitter-proto

Repository files navigation

tree-sitter-proto

CI crates

Protocol buffer grammar for tree-sitter.

✨ Features

  • ✅ Proto2 support
  • ✅ Proto3 support
  • ✅ Support for editions
  • ✅ Neovim queries (highlights, folds, indents, injections)

📦 Queries

The following queries are provided for editor integration:

Query Description
highlights.scm Syntax highlighting
folds.scm Code folding
indents.scm Automatic indentation
injections.scm Language injections (comments)

Usage in Neovim

This parser can be used with nvim-treesitter.

Special Thanks

Special thanks to the following people for their amazing work on this grammar:

About

Tree sitter grammar for protocol buffers

Topics

Resources

License

Stars

Watchers

Forks

Contributors