Module: Textbringer::TreeSitterAdapter
- Defined in:
- lib/textbringer/tree_sitter_adapter.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- HIGHLIGHT_LEVELS =
Emacs-style 4-level highlighting
[ %i[comment string], # Level 1: minimal %i[keyword type constant], # Level 2: basic %i[function_name variable number], # Level 3: standard (default) %i[operator punctuation builtin] # Level 4: everything ].freeze
Class Method Summary collapse
Class Method Details
.debug? ⇒ Boolean
40 41 42 |
# File 'lib/textbringer/tree_sitter_adapter.rb', line 40 def self.debug? ENV["TEXTBRINGER_TREE_SITTER_DEBUG"] == "1" end |