A tree-sitter parser for .Xresources or .Xdefaults files.
This grammar also parses some C preprocessor macros/directives since
xrdb(1) passes the file through a C preprocessor before
loading the resources.
XrmGetDatabase(3), FILE SYNTAX sectionX(7), RESOURCES sectionxrdb(1)- The C Preprocessor (GNU implementation)
- tree-sitter-c grammar
You can install this parser using nvim-treesitter,
run TSInstall xresources.