neovim/scripts
Lewis Russell 877d04d0fb feat(lua): add vim.func._memoize
Memoizes a function, using a custom function to hash the arguments.

Private for now until:

- There are other places in the codebase that could benefit from this
  (e.g. LSP), but might require other changes to accommodate.
- Invalidation of the cache needs to be controllable. Using weak tables
  is an acceptable invalidation policy, but it shouldn't be the only
  one.
- I don't think the story around `hash_fn` is completely thought out. We
  may be able to have a good default hash_fn by hashing each argument,
  so basically a better 'concat'.
2023-09-20 13:42:41 +01:00
..
bump_deps.lua ci(deps): update bump_deps script (#23604) 2023-05-13 11:44:56 +02:00
check_urls.vim vim-patch: move test_urls.vim out of runtime/ 2018-11-12 12:36:40 -05:00
cliff.toml chore: forward-port changes from v0.8.2 release 2022-12-29 17:36:28 +01:00
download-unicode-files.sh build(lintsh): double quote to prevent word splitting (#21571) 2022-12-28 22:50:24 +01:00
gen_eval_files.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
gen_filetype.lua feat: filetype.lua (#16600) 2022-01-04 07:28:29 -07:00
gen_help_html.lua feat(gen_help_html): add anchors to help tags #25112 2023-09-12 04:51:38 -07:00
gen_lsp.lua fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
gen_vimdoc.py docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
genappimage.sh ci: make all linux releases work with same glibc version 2023-04-22 22:58:14 +02:00
git-log-pretty-since.sh build(lint): add more shell scripts to lintsh 2022-11-01 18:37:21 +01:00
legacy2luatest.pl
lintcommit.lua ci(lintcommit): fix error output 2023-04-22 17:37:45 +02:00
lua2dox.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
movedocs.pl
pvscheck.sh docs: fix typos 2022-11-02 21:45:26 +08:00
release.sh build(lint): add more shell scripts to lintsh 2022-11-01 18:37:21 +01:00
shadacat.py Merge #11319 'inccommand: fix issues with modifiers and prompting' 2019-11-05 17:34:21 -08:00
update_terminfo.sh build(lint): add more shell scripts to lintsh 2022-11-01 18:37:21 +01:00
vim-patch.sh build(vim-patch.sh): don't use control chars in command (#25044) 2023-09-08 07:51:53 +08:00
vimpatch.lua vim-patch: bump VIM_VERSION from 8.0 => 8.1 #20762 2022-10-21 03:56:09 -07:00
windows.ti fix(terminfo): disable smglr for vtpcon and conemu (#18855) 2022-06-05 14:39:56 +02:00