diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 20:32:36 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 20:32:36 +0530 |
| commit | 23616c2e13f63f0262d64538032b98ce83cc0ec2 (patch) | |
| tree | 3ea56e8c12c6735b5dddb34b5699c59c00066b0f /modules/development/nixvim/default.nix | |
| parent | 01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 (diff) | |
| download | home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.tar.gz home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.zip | |
feat: renamed the options to reflect their changed directory stucture
Renamed the options for the configurations based on the sub-module that
they belong to
Diffstat (limited to 'modules/development/nixvim/default.nix')
| -rw-r--r-- | modules/development/nixvim/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/development/nixvim/default.nix b/modules/development/nixvim/default.nix index c7978d4..6cd0957 100644 --- a/modules/development/nixvim/default.nix +++ b/modules/development/nixvim/default.nix @@ -8,8 +8,13 @@ ./plugins ]; - config = { + options.development.nixvim = { + enable = lib.mkEnableOption "Enables nixvim."; + }; + + config = lib.mkIf config.development.nixvim.enable { programs.nixvim = { + enable = true; defaultEditor = true; opts = { number = true; @@ -79,14 +84,13 @@ update_in_insert = false; float = { border = "rounded"; - source = true; # Show which LSP the diagnostic is from + source = true; header = ""; prefix = ""; }; }; }; - # Show diagnostics float on cursor hold autoCmd = [ { event = [ "CursorHold" ]; |
