configuration.nix: disable nim by default

It is broken on Darwin, and pkgs is not in scope here to check
This commit is contained in:
NotAShelf 2024-05-07 15:40:08 +03:00
parent 544c98a03b
commit 96b92b5652
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -54,9 +54,16 @@ inputs: let
enableTreesitter = true; enableTreesitter = true;
enableExtraDiagnostics = true; enableExtraDiagnostics = true;
nix.enable = true; # Nim LSP is broken on Darwin and therefore
markdown.enable = true; # should be disabled by default. Users may still enable
# `vim.languages.vim` to enable it, this does not restrict
# that.
# See: <https://github.com/PMunch/nimlsp/issues/178#issue-2128106096>
nim.enable = false;
nix.enable = true;
markdown.enable = isMaximal;
html.enable = isMaximal; html.enable = isMaximal;
css.enable = isMaximal; css.enable = isMaximal;
sql.enable = isMaximal; sql.enable = isMaximal;
@ -71,7 +78,6 @@ inputs: let
bash.enable = isMaximal; bash.enable = isMaximal;
tailwind.enable = isMaximal; tailwind.enable = isMaximal;
typst.enable = isMaximal; typst.enable = isMaximal;
nim.enable = isMaximal;
clang = { clang = {
enable = isMaximal; enable = isMaximal;
lsp.server = "clangd"; lsp.server = "clangd";
@ -79,14 +85,14 @@ inputs: let
rust = { rust = {
enable = isMaximal; enable = isMaximal;
crates.enable = true; crates.enable = isMaximal;
}; };
}; };
visuals = { visuals = {
enable = true; enable = true;
nvimWebDevicons.enable = true; nvimWebDevicons.enable = true;
scrollBar.enable = true; scrollBar.enable = isMaximal;
smoothScroll.enable = true; smoothScroll.enable = true;
cellularAutomaton.enable = false; cellularAutomaton.enable = false;
fidget-nvim.enable = true; fidget-nvim.enable = true;