From 59f5519549c01ae6f6e3bb8bb8dedbdd601b1057 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 8 Apr 2024 11:12:27 +0800 Subject: [PATCH] nixvimConfigs: migrate to updated option name for Neovim options --- configs/nixvim/fiesta/default.nix | 2 +- configs/nixvim/fiesta/modules/setups/ui.nix | 14 +++++++------- configs/nixvim/trovebelt/default.nix | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/configs/nixvim/fiesta/default.nix b/configs/nixvim/fiesta/default.nix index 7a96a2bf..0be24c7d 100644 --- a/configs/nixvim/fiesta/default.nix +++ b/configs/nixvim/fiesta/default.nix @@ -22,7 +22,7 @@ syntax = true; }; - options = { + opts = { encoding = "utf-8"; completeopt = [ "menuone" "noselect" ]; expandtab = true; diff --git a/configs/nixvim/fiesta/modules/setups/ui.nix b/configs/nixvim/fiesta/modules/setups/ui.nix index 850b2bc5..f71a45bf 100644 --- a/configs/nixvim/fiesta/modules/setups/ui.nix +++ b/configs/nixvim/fiesta/modules/setups/ui.nix @@ -13,24 +13,24 @@ in colorschemes = lib.mkDefault { kanagawa.enable = true; }; # Make it so that terminal GUI colors are au natural. - options.termguicolors = true; + opts.termguicolors = true; # Show locations you're supposed to be copying from the internet (or your # own code). - options.number = true; + opts.number = true; # Make it easy to count. - options.relativenumber = true; + opts.relativenumber = true; # Make it easy to identify your cursor. - options.cursorline = true; + opts.cursorline = true; # Conceal all of the hidden weapons (or distractions). - options.conceallevel = 1; + opts.conceallevel = 1; # Show them hidden suckers. - options.list = true; - options.listchars = { + opts.list = true; + opts.listchars = { tab = "↦ *"; trail = "·"; nbsp = "%"; diff --git a/configs/nixvim/trovebelt/default.nix b/configs/nixvim/trovebelt/default.nix index 376c20c2..eed2dfc1 100644 --- a/configs/nixvim/trovebelt/default.nix +++ b/configs/nixvim/trovebelt/default.nix @@ -18,7 +18,7 @@ syntax = true; }; - options = { + opts = { encoding = "utf-8"; completeopt = [ "menuone" "noselect" ]; expandtab = true;