Skip to content

Commit

Permalink
Resolve rename (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 11, 2024
1 parent f43d360 commit d1aea0a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
# flake.nix
inputs = {
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixvim = {
url = "github:nix-community/nixvim/nixos-24.05";
url = "github:nix-community/nixvim/nixos-unstable";
inputs.nixpkgs.follows = "nixpkgs";
};
Expand All @@ -31,20 +31,20 @@ inputs = {
imports = [ inputs.nvim.nixosModules.nvim ];
# See <https://nix-community.github.io/nixvim/NeovimOptions/index.html>
# for availabe options.
# for available options.
programs.nixvim.enable = true;
}
```

### HomeManager
### Home-Manager

```nix
# home.nix
{
imports = [ inputs.nvim.homeManagerModules.nvim ];
# See <https://nix-community.github.io/nixvim/NeovimOptions/index.html>
# for availabe options.
# for available options.
programs.nixvim.enable = true;
}
```
Expand All @@ -63,7 +63,7 @@ inputs = {
(inputs.nvim.packages.x86_64-linux.nixvimWithOptions {
inherit pkgs;
# See <https://nix-community.github.io/nixvim/NeovimOptions/index.html>
# for availabe options.
# for available options.
options.enableMan = false;
})
];
Expand Down
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion modules/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{ lib, pkgs, ... }:

let
colorizer = if lib.versionAtLeast lib.version "25.05pre" then "colorizer" else "nvim-colorizer";
in
{
imports = [
./cmp.nix
Expand Down Expand Up @@ -95,7 +98,7 @@
};
};
nvim-autopairs.enable = true; # brackets, html, ...
nvim-colorizer.enable = true;
${colorizer}.enable = true;
rainbow-delimiters.enable = true;
ts-context-commentstring.enable = true; # set comment string dynamically
vim-matchup.enable = true; # extends % key with comments
Expand Down

0 comments on commit d1aea0a

Please sign in to comment.