build(generator): add dependencies on hashy (#32796)

This allows generated sources to be automatically rebuilt when modifying
hashy code.

Also, appending to NVIM_GENERATED_FOR_{HEADERS,SOURCES} in the middle of
custom commands is a bit strange. Move that after the custom commands.
This commit is contained in:
zeertzjq
2025-03-09 18:57:41 +08:00
committed by GitHub
parent d4584903f3
commit 0a087f2073
2 changed files with 30 additions and 29 deletions

View File

@@ -106,8 +106,8 @@ function M.switcher(put, tab, maxlen, worst_buck_size, icase)
return neworder
end
--- @param icase boolean generate a case-insensitive hash function.
--- `strings` must not have mixed case when using this.
--- @param icase? boolean generate a case-insensitive hash function.
--- `strings` must not have mixed case when using this.
function M.hashy_hash(name, strings, access, icase)
local stats = {}
local put = function(str)