From 6f28bd821e41fc6adff8a2b8fcdee4c48f25d49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 17 Feb 2023 22:18:34 +0100 Subject: [PATCH] nvim: add surround --- modules/programs/nvim/default.nix | 1 + modules/programs/nvim/init.lua | 2 ++ 2 files changed, 3 insertions(+) diff --git a/modules/programs/nvim/default.nix b/modules/programs/nvim/default.nix index 6da328f..84463e0 100644 --- a/modules/programs/nvim/default.nix +++ b/modules/programs/nvim/default.nix @@ -45,6 +45,7 @@ in nui-nvim # for noice-nvim nvim-cmp nvim-lspconfig + nvim-surround nvim-treesitter.withAllGrammars nvim-ts-context-commentstring nvim-web-devicons # for dashboard-nvim diff --git a/modules/programs/nvim/init.lua b/modules/programs/nvim/init.lua index 1fb3eb6..ddd1778 100644 --- a/modules/programs/nvim/init.lua +++ b/modules/programs/nvim/init.lua @@ -320,3 +320,5 @@ require("nvim-treesitter.configs").setup({ enable = true, }, }) + +require("nvim-surround").setup({})