summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-02-13 14:44:00 +0100
committersils <sils@sils.li>2024-02-13 14:44:00 +0100
commitd0ee03d2a5939afb8b2d2435e0f907617804f3e5 (patch)
treedb96aac04835593c6664eb0c60805f15ba416a22
parentremove nix-filter input override for prismlauncher (diff)
downloadnix-config-d0ee03d2a5939afb8b2d2435e0f907617804f3e5.tar.gz
nix-config-d0ee03d2a5939afb8b2d2435e0f907617804f3e5.zip
users/sils/nixvim: use vim-airline-themes plugin
Diffstat (limited to '')
-rw-r--r--users/sils/nixvim/config.nix19
-rw-r--r--users/sils/nixvim/default.nix4
2 files changed, 7 insertions, 16 deletions
diff --git a/users/sils/nixvim/config.nix b/users/sils/nixvim/config.nix
index 2a99cb2..60f522b 100644
--- a/users/sils/nixvim/config.nix
+++ b/users/sils/nixvim/config.nix
@@ -1,16 +1,4 @@
-let
-  maps = import ./maps;
-in {
-  options = {
-    number = true;
-    relativenumber = true;
-    shiftwidth = 2;
-    tabstop = 2;
-    scrolloff = 999;
-
-    textwidth = 83;
-    linebreak = true;
-  };
+pkgs: {
   colorschemes.gruvbox.enable = true;
   keymaps = [
     {
@@ -46,10 +34,13 @@ in {
       action = ":Neotree float git_status<cr>";
     }
   ];
+  extraPlugins = with pkgs.vimPlugins; [
+    vim-airline-themes
+  ];
   plugins = {
     airline = {
       enable = true;
-      powerline = true;
+      powerlineFonts = true;
       theme = "minimalist";
     };
     coq-nvim = {
diff --git a/users/sils/nixvim/default.nix b/users/sils/nixvim/default.nix
index 0e770f9..faf1a6b 100644
--- a/users/sils/nixvim/default.nix
+++ b/users/sils/nixvim/default.nix
@@ -1,7 +1,7 @@
-{
+{pkgs,...}: {
   programs.nixvim =
     {
       enable = true;
     }
-    // import ./config.nix;
+    // import ./config.nix pkgs;
 }