tested hexdump, sort of working
This commit is contained in:
19
init.lua
19
init.lua
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"gemini-cli.nvim": { "branch": "main", "commit": "c9fd62adda823628f5131a939d9c56ef7a898600" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "0f00d07c2c3106ba6abd594ac1c17f211141b7b5" },
|
||||
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
|
||||
"hex.nvim": { "branch": "master", "commit": "b46e63356a69e8d6f046c38a9708d55d17f15038" },
|
||||
"hologram.nvim": { "branch": "main", "commit": "f5194f71ec1578d91b2e3119ff08e574e2eab542" },
|
||||
"inc-rename.nvim": { "branch": "main", "commit": "0074b551a17338ccdcd299bd86687cc651bcb33d" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
|
||||
Reference in New Issue
Block a user