Something went wrong. Try again.
Fork of micro-editor/micro
Something went wrong. Try again.
feat(treesitter): drive grammars and queries from a registry
Replace the hardcoded filetype and grammar maps with one Definition per linked grammar: grammar id, micro filetypes, ordered query files, and language constructor. Query layers concatenate in order, so TSX and C++ reuse their base language highlights without a query preprocessor. Remove the Go keyword refinement so capture mapping stays language-neutral, and add table-driven span tests plus incremental differential tests for Go and Python.
Author
sigilzero.dev Date (Nov 9, 2026, 6:26 PM UTC) Commit
Copy SHA
Parent be0ccba1 be0ccba177ce1731bf3dc0a8f8fb2849efe7332b