nix-community.nixvim/lib
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
..
autocmd-helpers.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
builders.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
default.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
deprecation.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
extend-lib.nix lib: use lib.fix and self internally 2024-09-13 17:25:17 +01:00
keymap-helpers.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
maintainers.nix maintainers: add insipx 2024-09-02 02:05:40 -04:00
modules.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
neovim-plugin.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
options.nix lib: add types.flagInt + defaultNullOpts.mkIntFlag 2024-09-08 12:54:30 +01:00
pkg-lists.nix lib/pkg-lists: move to common location 2024-09-04 20:29:52 +01:00
tests.nix lib: rename helpers.nix -> default.nix 2024-09-13 17:25:17 +01:00
to-lua.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00
types.nix lib/types: simplify eitherRecursive by defining it only once 2024-09-12 14:44:54 +01:00
utils.nix lib: fix escaping bugs in wrapVimscriptForLua and wrapLuaForVimscript 2024-09-19 15:41:46 -07:00
vim-plugin.nix lib: cleanup with lib 2024-09-03 22:12:33 -05:00