Skip to content

Commit

Permalink
configuration.nix: disable nim by default
Browse files Browse the repository at this point in the history
It is broken on Darwin, and pkgs is not in scope here to check
  • Loading branch information
NotAShelf committed May 7, 2024
1 parent 544c98a commit 96b92b5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,16 @@ inputs: let
enableTreesitter = true;
enableExtraDiagnostics = true;

# Nim LSP is broken on Darwin and therefore
# 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 = true;

markdown.enable = isMaximal;
html.enable = isMaximal;
css.enable = isMaximal;
sql.enable = isMaximal;
Expand All @@ -71,22 +78,21 @@ inputs: let
bash.enable = isMaximal;
tailwind.enable = isMaximal;
typst.enable = isMaximal;
nim.enable = isMaximal;
clang = {
enable = isMaximal;
lsp.server = "clangd";
};

rust = {
enable = isMaximal;
crates.enable = true;
crates.enable = isMaximal;
};
};

visuals = {
enable = true;
nvimWebDevicons.enable = true;
scrollBar.enable = true;
scrollBar.enable = isMaximal;
smoothScroll.enable = true;
cellularAutomaton.enable = false;
fidget-nvim.enable = true;
Expand Down

0 comments on commit 96b92b5

Please sign in to comment.