nvim: Load nvim-surround as VeryLazy
This fixes the somewhat confusing issue of trying to use any of the surround operations before entering insert mode at least once in a file (so, probably as the first operation). Before, the plugin would just silently fail. Now it simply loads very lazily, which does not affect load times strongly.
This commit is contained in:
parent
f8dfe7d856
commit
b69548fa38
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ return {
|
|||
},
|
||||
},
|
||||
-- surround things with other things using ys/cs/ds
|
||||
{ "kylechui/nvim-surround", config = true, event = "InsertEnter" },
|
||||
{ "kylechui/nvim-surround", config = true, event = "VeryLazy" },
|
||||
|
||||
-- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue