Closed weartist closed 5 months ago
That code is to check if the normal-mode delimiters are already in cache, and only fetch them if they are not in cache.
That code is to check if the normal-mode delimiters are already in cache, and only fetch them if they are not in cache.
But here's a judgment, if it is executed, it must be worthless? https://github.com/kylechui/nvim-surround/blob/0c02c52182a9c2a7fa7e122b4037f6408e98434a/lua/nvim-surround/init.lua#L283
Woops, completely missed that. Thanks for the catch!
It seems that this judgment will always be followed by the result