From 8e01d83b20770c9db1e73951b486328847afc72e Mon Sep 17 00:00:00 2001 From: workflow <4farlion@gmail.com> Date: Sat, 20 Jul 2024 01:03:01 +0100 Subject: [PATCH] feat(nvim): add suda plugin for convenient writing/reading of root files --- flake.lock | 4 ++-- home/neovim/default.nix | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index baa08fd..9efda5b 100644 --- a/flake.lock +++ b/flake.lock @@ -171,8 +171,8 @@ }, "secrets": { "locked": { - "lastModified": 1721313318, - "narHash": "sha256-GTOgKd5f2vZFZNOzSpyqzQW6xbrZD64Ejl+Ee579C0s=", + "lastModified": 1721387876, + "narHash": "sha256-pN1sikU3d2lrFsJARAWnXo05AVDOimpO8UVggYAmKo4=", "path": "/home/farlion/code/nixos-secrets", "type": "path" }, diff --git a/home/neovim/default.nix b/home/neovim/default.nix index 7ef800b..f06ff07 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -444,6 +444,9 @@ in { ''; } vim-surround + { + plugin = vim-suda; # Sudo support via :SudaRead and :SudaWrite + } vim-test { plugin = text-case-nvim;