aboutsummaryrefslogtreecommitdiff
path: root/src/gen
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-09 18:57:41 +0800
committerGitHub <noreply@github.com>2025-03-09 18:57:41 +0800
commit0a087f207331291a0ef7f1773eb9cdf7f5143879 (patch)
treef3449d9140e2651a1adc5bbf8d61b152e0e0a7fd /src/gen
parentd4584903f3a7123a389332afa2620f2b997b7f1b (diff)
downloadrneovim-0a087f207331291a0ef7f1773eb9cdf7f5143879.tar.gz
rneovim-0a087f207331291a0ef7f1773eb9cdf7f5143879.tar.bz2
rneovim-0a087f207331291a0ef7f1773eb9cdf7f5143879.zip
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.
Diffstat (limited to 'src/gen')
-rw-r--r--src/gen/hashy.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen/hashy.lua b/src/gen/hashy.lua
index 52cc1e64e3..cd0e90830d 100644
--- a/src/gen/hashy.lua
+++ b/src/gen/hashy.lua
@@ -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)