Skip to content

Commit

Permalink
fix(formatting): fix treefmt stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tsandrini committed Sep 16, 2024
1 parent d2bd5d4 commit 3915c84
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
1. [Impurities](6-impurities)
1. [Currently known impurities](61-currently-known-impurities)
1. [Notes](62-notes)
1. [References](7-references)
1. [Resources](7-resources)
1. [Credits & Special thanks](8-credits-special-thanks)
1. [Major help](81-major-help)
1. [Additional help](82-additional-help)

## 1. About ❄️

Expand Down Expand Up @@ -149,10 +152,10 @@ avoid using it.
### 6.2 Notes

- [shadow-nix](https://github.com/NicolasGuilloux/shadow-nix) and all its
forks rely on impure imports of hashes, so I am maintaining my own fork
[tsandrini/shadow-nix](https://github.com/tsandrini/shadow-nix)
forks rely on impure imports of hashes, so I am maintaining my own fork
[tsandrini/shadow-nix](https://github.com/tsandrini/shadow-nix)
- I was previously using [devenv](https://devenv.sh/), however, it still doesn't
work really well in a pure mode, so switched to a simple devshell instead.
work really well in a pure mode, so switched to a simple devshell instead.

## 7. Resources 📚

Expand Down Expand Up @@ -190,7 +193,7 @@ taken some piece of code or have been inspired from. Huge thanks ❤️
### 8.1 Major help

These are people that are engrained in the nix community and whose work I/we
use on a daily basis. I hope they will hapilly continue to be a part of the
use on a daily basis. I hope they will happily continue to be a part of the
nix community and I thank them for all of their contributions.

[edolstra](https://github.com/edolstra)
Expand All @@ -203,7 +206,9 @@ nix community and I thank them for all of their contributions.
-- [fufexan](https://github.com/fufexan)
-- [NobbZ](https://github.com/NobbZ)

### 8.2 Additional help with ideas & code snippets
### 8.2 Additional help

Additional help with certain specific areas, inspiration or code snippets.

[balsoft](https://github.com/balsoft)
-- [dc-tec](https://github.com/dc-tec)
Expand Down
16 changes: 12 additions & 4 deletions flake-parts/modules/nixvim/plugins/cmp/cmp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
}:
let
inherit (lib) mkIf mkMerge mkEnableOption;
inherit (localFlake.lib.modules) mkOverrideAtNixvimModuleLevel mkOverrideAtNixvimProfileLevel isModuleLoadedAndEnabled;
inherit (localFlake.lib.modules)
mkOverrideAtNixvimModuleLevel
mkOverrideAtNixvimProfileLevel
isModuleLoadedAndEnabled
;

cfg = config.tensorfiles.nixvim.plugins.cmp.cmp;
_ = mkOverrideAtNixvimModuleLevel;
Expand Down Expand Up @@ -57,9 +61,13 @@ in
};

copilot-cmp = {
enable = mkEnableOption ''
Enable the copilot-cmp integration.
'' // { default = true; };
enable =
mkEnableOption ''
Enable the copilot-cmp integration.
''
// {
default = true;
};
};
};

Expand Down
1 change: 0 additions & 1 deletion flake-parts/modules/nixvim/plugins/lsp/otter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
{
config,
lib,
pkgs,
...
}:
let
Expand Down

0 comments on commit 3915c84

Please sign in to comment.