aboutsummaryrefslogtreecommitdiffstats
path: root/hm/soispha/conf
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-30 11:29:50 +0100
committerSoispha <soispha@vhack.eu>2024-03-30 11:48:20 +0100
commitdb5956119316885e0116ebbb77bab9c4d209b15f (patch)
treeae0c22c84dbd3eae208a7807ee10f9f3b6946392 /hm/soispha/conf
parentfeat(hm/conf/lf/cmd/make_link): Always make relative links (diff)
downloadnixos-config-db5956119316885e0116ebbb77bab9c4d209b15f.zip
refactor(hm/conf/nvim): Use `opts` instead of `options`
The previous name was renamed, as it clashed with the NixOS module system.
Diffstat (limited to 'hm/soispha/conf')
-rw-r--r--hm/soispha/conf/nvim/autocmds/default.nix2
-rw-r--r--hm/soispha/conf/nvim/options/default.nix2
-rw-r--r--hm/soispha/conf/nvim/plgs/vim-tex/default.nix2
3 files changed, 3 insertions, 3 deletions
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;