mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 14:55:59 +01:00
languages/nim: assert on darwin systems
due to nimlsp not working properly on darwin
This commit is contained in:
parent
38bf156537
commit
6346617a50
2 changed files with 10 additions and 1 deletions
|
@ -68,7 +68,7 @@ inputs: let
|
|||
elixir.enable = isMaximal;
|
||||
bash.enable = isMaximal;
|
||||
terraform.enable = isMaximal;
|
||||
nim.enable = isMaximal;
|
||||
nim.enable = false;
|
||||
tailwind.enable = isMaximal;
|
||||
clang = {
|
||||
enable = isMaximal;
|
||||
|
|
|
@ -88,6 +88,15 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
{
|
||||
assertions = [
|
||||
{
|
||||
assertion = !pkgs.stdenv.isDarwin;
|
||||
message = "Nim language support is only available on Linux";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
(mkIf cfg.treesitter.enable {
|
||||
vim.treesitter.enable = true;
|
||||
vim.treesitter.grammars = [cfg.treesitter.package];
|
||||
|
|
Loading…
Reference in a new issue