feat: add sql file type support
This commit is contained in:
		
							parent
							
								
									8b69cfddd3
								
							
						
					
					
						commit
						6130aa6b79
					
				
					 3 changed files with 10 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -65,6 +65,7 @@ pub fn build(b: *std.Build) void {
 | 
			
		|||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-scala/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-scheme/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-superhtml/tree-sitter-superhtml/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-sql/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-swift/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-toml/queries/highlights.scm"),
 | 
			
		||||
        ts_queryfile(b, tree_sitter_dep, "tree-sitter-typescript/queries/highlights.scm"),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,8 +4,8 @@
 | 
			
		|||
 | 
			
		||||
    .dependencies = .{
 | 
			
		||||
        .@"tree-sitter" = .{
 | 
			
		||||
            .url = "https://github.com/neurocyte/tree-sitter/releases/download/master-f7a38f045f20164d333e355ac1a9d31d8352502b/source.tar.gz",
 | 
			
		||||
            .hash = "122097835c8367b58cb57f55d6d60d12d93be0926e68544a1de996e883b53b82df44",
 | 
			
		||||
            .url = "https://github.com/neurocyte/tree-sitter/releases/download/master-69775ce3ba8a5e331bba9feb760d1ba31394eea7/source.tar.gz",
 | 
			
		||||
            .hash = "1220f9702ca6257f5464b31e576b1e92b0f441bf0e61733c4a2fbf95b7c0c55a3e22",
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    .paths = .{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -434,6 +434,13 @@ pub const scheme = .{
 | 
			
		|||
    .comment = ";",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
pub const sql = .{
 | 
			
		||||
    .description = "SQL",
 | 
			
		||||
    .icon = "",
 | 
			
		||||
    .extensions = .{ "sql" },
 | 
			
		||||
    .comment = "--",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
pub const @"ssh-config" = .{
 | 
			
		||||
    .description = "SSH config",
 | 
			
		||||
    .extensions = .{".ssh/config"},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue