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") require("config.lsp")
-- render bufferline -- render bufferline
require("bufferline").setup{} 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,
}

View File

@@ -10,6 +10,7 @@
"gemini-cli.nvim": { "branch": "main", "commit": "c9fd62adda823628f5131a939d9c56ef7a898600" }, "gemini-cli.nvim": { "branch": "main", "commit": "c9fd62adda823628f5131a939d9c56ef7a898600" },
"gitsigns.nvim": { "branch": "main", "commit": "0f00d07c2c3106ba6abd594ac1c17f211141b7b5" }, "gitsigns.nvim": { "branch": "main", "commit": "0f00d07c2c3106ba6abd594ac1c17f211141b7b5" },
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" }, "guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
"hex.nvim": { "branch": "master", "commit": "b46e63356a69e8d6f046c38a9708d55d17f15038" },
"hologram.nvim": { "branch": "main", "commit": "f5194f71ec1578d91b2e3119ff08e574e2eab542" }, "hologram.nvim": { "branch": "main", "commit": "f5194f71ec1578d91b2e3119ff08e574e2eab542" },
"inc-rename.nvim": { "branch": "main", "commit": "0074b551a17338ccdcd299bd86687cc651bcb33d" }, "inc-rename.nvim": { "branch": "main", "commit": "0074b551a17338ccdcd299bd86687cc651bcb33d" },
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },