feat: add rpmspec support
This commit is contained in:
		
							parent
							
								
									dc0575bf35
								
							
						
					
					
						commit
						9f4c5ef2b8
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -78,6 +78,7 @@ pub fn build(b: *std.Build) void {
 | 
			
		|||
    ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-python/queries/highlights.scm");
 | 
			
		||||
    ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-purescript/queries/highlights.scm");
 | 
			
		||||
    ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-regex/queries/highlights.scm");
 | 
			
		||||
    ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-rpmspec/queries/highlights.scm");
 | 
			
		||||
    ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-ruby/queries/highlights.scm");
 | 
			
		||||
    ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-rust/queries/highlights.scm");
 | 
			
		||||
    ts_queryfile(b, tree_sitter_dep, ts_bin_query_gen, "tree-sitter-ssh-config/queries/highlights.scm");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -426,6 +426,14 @@ pub const regex = .{
 | 
			
		|||
    .comment = "#",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
pub const rpmspec = .{
 | 
			
		||||
    .description = "RPM spec",
 | 
			
		||||
    .color = 0xff0000,
 | 
			
		||||
    .icon = "",
 | 
			
		||||
    .extensions = .{"spec"},
 | 
			
		||||
    .comment = "#",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
pub const ruby = .{
 | 
			
		||||
    .description = "Ruby",
 | 
			
		||||
    .color = 0xd91404,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue