From db5956119316885e0116ebbb77bab9c4d209b15f Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 30 Mar 2024 11:29:50 +0100 Subject: refactor(hm/conf/nvim): Use `opts` instead of `options` The previous name was renamed, as it clashed with the NixOS module system. --- hm/soispha/conf/nvim/autocmds/default.nix | 2 +- hm/soispha/conf/nvim/options/default.nix | 2 +- hm/soispha/conf/nvim/plgs/vim-tex/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'hm/soispha/conf') diff --git a/hm/soispha/conf/nvim/autocmds/default.nix b/hm/soispha/conf/nvim/autocmds/default.nix index 04942e28..a8f00bdc 100644 --- a/hm/soispha/conf/nvim/autocmds/default.nix +++ b/hm/soispha/conf/nvim/autocmds/default.nix @@ -76,7 +76,7 @@ { event = ["InsertEnter"]; pattern = ["*"]; - command = "set colorcolumn=${config.programs.nixvim.options.colorcolumn}"; + command = "set colorcolumn=${config.programs.nixvim.opts.colorcolumn}"; group = "colorcolumn_toggle"; desc = "Only activate the colorcolumn when focused"; } diff --git a/hm/soispha/conf/nvim/options/default.nix b/hm/soispha/conf/nvim/options/default.nix index 67b86dfc..d22bdd8f 100644 --- a/hm/soispha/conf/nvim/options/default.nix +++ b/hm/soispha/conf/nvim/options/default.nix @@ -1,5 +1,5 @@ {nixosConfig, ...}: { - programs.nixvim.options = { + programs.nixvim.opts = { autoindent = true; # copy indent from previous line cindent = true; # use c like indenting rules breakindent = true; # continue indent visually diff --git a/hm/soispha/conf/nvim/plgs/vim-tex/default.nix b/hm/soispha/conf/nvim/plgs/vim-tex/default.nix index dccc0911..ef7d8cf5 100644 --- a/hm/soispha/conf/nvim/plgs/vim-tex/default.nix +++ b/hm/soispha/conf/nvim/plgs/vim-tex/default.nix @@ -1,6 +1,6 @@ {...}: { programs.nixvim = { - options.conceallevel = 0; + opts.conceallevel = 0; plugins.vimtex = { enable = true; -- cgit 1.4.1