diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-07 13:42:08 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-07 13:42:36 +0100 |
commit | 826626e933a3e4b76fa70f34245baa79b650a29c (patch) | |
tree | 36687570ecf989a1376328e463a27cd5db63dcde | |
parent | 5284e64bae672d475a06f7255b589fc2c5f89894 (diff) |
nvim: Add nvim-surround configuration
-rw-r--r-- | .config/nvim/after/plugin/surround.lua | 19 |
1 files changed, 19 insertions, 0 deletions
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 = { '“ ', ' ”' }, + }, + } +} |