From 826626e933a3e4b76fa70f34245baa79b650a29c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 7 Nov 2023 13:42:08 +0100 Subject: nvim: Add nvim-surround configuration --- .config/nvim/after/plugin/surround.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .config/nvim/after/plugin/surround.lua (limited to '.config/nvim/after/plugin/surround.lua') diff --git a/.config/nvim/after/plugin/surround.lua b/.config/nvim/after/plugin/surround.lua new file mode 100644 index 0000000..859f984 --- /dev/null +++ b/.config/nvim/after/plugin/surround.lua @@ -0,0 +1,19 @@ +require('nvim-surround').setup { + surrounds = { + ['’'] = { + add = { '‘', '’' }, + }, + + ['‘'] = { + add = { '‘ ', ' ’' }, + }, + + ['”'] = { + add = { '“', '”' }, + }, + + ['“'] = { + add = { '“ ', ' ”' }, + }, + } +} -- cgit v1.2.3