Closed rcclemente closed 1 year ago
Are you sure that the plugin has been properly installed via PackerSync or PackerInstall? What is the output of :lua =pcall(require, "nvim-surround")
?
HI @kylechui above is the screenshot from the output
Hmm... that is quite strange as you are using the tagged version. I would either try removing then reinstalling the plugin, or do the following:
nvim -u NONE
nvim-surround
via :lua require("nvim-surround").setup()
cs"'
on the buffer of your choiceIf neither of the above work, please do steps 1 and 2, then send the output of :verbose nmap cs
.
@kylechui thanks i found the problem in my root config... This is working great now
Checklist
:h nvim-surround
to see if there might be any relevant information there?Neovim Version
v0.8.1
Plugin Version
Tagged (Stable)
Minimal Configuration
use({ "kylechui/nvim-surround", tag = "*", -- Use for stability; omit to use
main
branch for the latest features config = function() require("nvim-surround").setup({ -- Configuration here, or leave empty to use defaults }) end })Sample Buffer
require "user.keymaps"
Keystroke Sequence
cs"'
Expected behavior
expect double qoutes to replace single quote
Actual behavior
When pressing the sequence
cs"'
i noticed the after pressing the letters
the command disappears in the right corner and nothing is triggeredAdditional context
No response