Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
siph committed Aug 13, 2024
1 parent 08a0d2c commit e8793d7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/treesitter/treesitter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
plugins = {
treesitter = {
enable = true;
indent = false;
nixvimInjections = true;

languageRegister.nu = "nu";
Expand All @@ -11,14 +10,16 @@
grammarPackages = with pkgs;
vimPlugins.nvim-treesitter.passthru.allGrammars
++ (with tree-sitter-grammars; [tree-sitter-nu tree-sitter-surrealdb]);

settings.indent.enable = false;
};
};

extraFiles = with pkgs.tree-sitter-grammars; {
"/queries/nu/highlights.scm" = builtins.readFile "${tree-sitter-nu}/queries/nu/highlights.scm";
"/queries/nu/injections.scm" = builtins.readFile "${tree-sitter-nu}/queries/nu/injections.scm";
"/queries/nu/highlights.scm".source = "${tree-sitter-nu}/queries/nu/highlights.scm";
"/queries/nu/injections.scm".source = "${tree-sitter-nu}/queries/nu/injections.scm";

"/queries/surrealdb/highlights.scm" = builtins.readFile "${tree-sitter-surrealdb}/queries/highlights.scm";
"/queries/surrealdb/highlights.scm".source = "${tree-sitter-surrealdb}/queries/highlights.scm";
};

filetype = {
Expand Down

0 comments on commit e8793d7

Please sign in to comment.