disable treesitter on riscv
This commit is contained in:
parent
a9442cf750
commit
fddc2cdca7
1 changed files with 13 additions and 5 deletions
|
@ -1,7 +1,15 @@
|
|||
{pkgs, ...}: {
|
||||
output.plugins = with pkgs.vimPlugins; [pkgs.vimPlugins.nvim-treesitter.withAllGrammars];
|
||||
plugin.setup."nvim-treesitter.configs" = {
|
||||
highlight.enable = true;
|
||||
highlight.disable = ["bash"];
|
||||
};
|
||||
output.plugins =
|
||||
if pkgs.system != "riscv64-linux"
|
||||
then with pkgs.vimPlugins; [pkgs.vimPlugins.nvim-treesitter.withAllGrammars]
|
||||
else [];
|
||||
plugin.setup =
|
||||
if pkgs.system != "riscv64-linux"
|
||||
then {
|
||||
"nvim-treesitter.configs" = {
|
||||
highlight.enable = true;
|
||||
highlight.disable = ["bash"];
|
||||
};
|
||||
}
|
||||
else {};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue