From 67766cd5f4bba9578d929ea6a88dbfa989898004 Mon Sep 17 00:00:00 2001 From: Aditya Date: Thu, 28 Mar 2024 20:49:55 +0530 Subject: [PATCH] add vim.loader --- config/sets.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/config/sets.nix b/config/sets.nix index e8bd959..19c109a 100644 --- a/config/sets.nix +++ b/config/sets.nix @@ -1,5 +1,9 @@ -{ pkgs, lib, config, ... }: { + pkgs, + lib, + config, + ... +}: { config = { options = { # Relative line numbers @@ -42,9 +46,8 @@ # Decrease update time updatetime = 50; - # Set completeopt - completeopt = [ "menuone" "noselect" "noinsert" ]; + completeopt = ["menuone" "noselect" "noinsert"]; # Persistent undo history swapfile = false; @@ -77,7 +80,7 @@ # Encoding encoding = "utf-8"; - fileencoding = "utf-8"; + fileencoding = "utf-8"; # Cursor options guicursor = [ @@ -92,7 +95,7 @@ # Chars list list = true; # Show invisible characters listchars = "eol:↲,tab:|->,lead:·,space: ,trail:•,extends:→,precedes:←,nbsp:␣"; - + # Space in neovim command line to display messages cmdheight = 2; @@ -130,6 +133,8 @@ -- Neovide Fonts o.guifont = "JetBrainsMono Nerd Font" end + + vim.loader.enable() ''; }; }