plugins.hex.settings
Options provided to the require('hex').setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
assemble_cmd = "xxd -r";
dump_cmd = "xxd -g 1 -u";
}
Declared by:
plugins.hex.settings.assemble_cmd
cli command used to dump hex data.
Type: null or string or raw lua code
Default:
null
Plugin default: "xxd -r"
Declared by:
plugins.hex.settings.dump_cmd
cli command used to dump hex data.
Type: null or string or raw lua code
Default:
null
Plugin default: "xxd -g 1 -u"
Declared by:
plugins.hex.settings.is_buf_binary_post_read
Function that runs on BufReadPost
to determine if it’s binary or not.
It should return a boolean value.
Type: null or lua code string
Default:
null
Declared by:
plugins.hex.settings.is_buf_binary_pre_read
Function that runs on BufReadPre
to determine if it’s binary or not.
It should return a boolean value.
Type: null or lua code string
Default:
null
Declared by: