feat: hash util

This commit is contained in:
əlemi 2024-08-14 18:11:20 +02:00
parent f6a28acf87
commit 1803127828
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -1,3 +1,5 @@
local native = require('codemp.loader').load()
local function split_without_trim(str, sep)
local res = vim.fn.split(str, sep)
if str:sub(1,1) == "\n" then
@ -129,4 +131,5 @@ return {
set_content = buffer_set_content,
replace_content = buffer_replace_content,
},
hash = native.hash,
}