feat: add gleam to file types
This commit is contained in:
		
							parent
							
								
									f0769de8e9
								
							
						
					
					
						commit
						fd2799c6e3
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -28,6 +28,7 @@ pub fn build(b: *std.Build) void {
 | 
			
		|||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-elixir/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-git-rebase/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-gitcommit/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-gleam/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-go/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-fish/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-haskell/queries/highlights.scm"),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -110,6 +110,14 @@ pub const gitcommit = .{
 | 
			
		|||
    .injections = "tree-sitter-gitcommit/queries/injections.scm",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
pub const gleam = .{
 | 
			
		||||
    .color = 0xffaff3,
 | 
			
		||||
    .icon = "",
 | 
			
		||||
    .extensions = .{ "gleam" },
 | 
			
		||||
    .comment = "//",
 | 
			
		||||
    .language_server = .{"gleam", "lsp"},
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
pub const go = .{
 | 
			
		||||
    .color = 0x00acd7,
 | 
			
		||||
    .icon = "",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue