mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-18 16:29:40 +01: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. |
||
|---|---|---|
| .. | ||
| autocmd-helpers.nix | ||
| builders.nix | ||
| default.nix | ||
| deprecation.nix | ||
| extend-lib.nix | ||
| keymap-helpers.nix | ||
| maintainers.nix | ||
| modules.nix | ||
| neovim-plugin.nix | ||
| options.nix | ||
| pkg-lists.nix | ||
| tests.nix | ||
| to-lua.nix | ||
| types.nix | ||
| utils.nix | ||
| vim-plugin.nix | ||