tested hexdump, sort of working

This commit is contained in:
venus
2026-04-01 01:52:20 -05:00
parent 69a847d43c
commit 84294ac88d
2 changed files with 20 additions and 0 deletions

View File

@@ -59,3 +59,22 @@ end
require("config.lsp")
-- render bufferline
require("bufferline").setup{}
-- defaults
require 'hex'.setup {
-- cli command used to dump hex data
dump_cmd = 'xxd -g 1 -u',
-- cli command used to assemble from hex data
assemble_cmd = 'xxd -r',
-- function that runs on BufReadPre to determine if it's binary or not
is_file_binary_pre_read = function()
-- logic that determines if a buffer contains binary data or not
-- must return a bool
end,
-- function that runs on BufReadPost to determine if it's binary or not
is_file_binary_post_read = function()
-- logic that determines if a buffer contains binary data or not
-- must return a bool
end,
}