nix-community.nixvim/tests
Jeremy Fleischman 400d1d927d
lib: fix escaping bugs in wrapVimscriptForLua and wrapLuaForVimscript
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.
2024-09-19 15:41:46 -07:00
..
modules tests/darwin: add system.stateversion 2024-09-14 12:38:01 -05:00
test-sources plugins/alpha: proper terminal support 2024-09-18 22:12:37 -05:00
default.nix tests: set _file to avoid <unknown-file> messages 2024-09-07 22:29:43 +01:00
enable-except-in-tests.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
extend.nix standalone: rename nixvimExtend to extend 2024-07-01 15:54:29 +01:00
extra-args.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
extra-files.nix flake/checks: test extraFiles are in the build 2024-07-07 16:43:06 +01:00
failing-tests.nix tests: add regression test for warnings + assertions 2024-08-28 00:44:34 +01:00
fetch-tests.nix tests/fetch-test: tweak signature 2024-09-07 22:29:43 +01:00
generated.nix tests/generated: use runCommandNoCCLocal and structuedAttrs 2024-09-09 16:14:14 +01:00
lib-tests.nix lib: fix escaping bugs in wrapVimscriptForLua and wrapLuaForVimscript 2024-09-19 15:41:46 -07:00
maintainers.nix tests: add check for nixpkgs maintainers 2024-07-10 09:18:18 +01:00
no-flake.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
package-options.nix flake: add an empty nixvimConfiguration to the legacyPackages output 2024-09-15 18:59:52 +01:00
plugins-by-name.nix flake: add an empty nixvimConfiguration to the legacyPackages output 2024-09-15 18:59:52 +01:00