mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
These functions had very similar bugs: they didn't check if their chosen "close token" was already present in the string they're escaping. I went ahead and did the work implied by the TODOs: search for a "close token" that is *not* in the original string. Pretty simple concept, but it turned into an annoying amount of code. I couldn't find anything in upstream nixpkgs lib, or some clever insight about lua/vimscript that makes this work unecessary, but I'll be thrilled (and a little bummed about a wasted afternoon) to learn about something. |
||
---|---|---|
.. | ||
modules | ||
test-sources | ||
default.nix | ||
enable-except-in-tests.nix | ||
extend.nix | ||
extra-args.nix | ||
extra-files.nix | ||
failing-tests.nix | ||
fetch-tests.nix | ||
generated.nix | ||
lib-tests.nix | ||
maintainers.nix | ||
no-flake.nix | ||
package-options.nix | ||
plugins-by-name.nix |