mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
feat: hash util
This commit is contained in:
parent
f6a28acf87
commit
1803127828
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue