From f72378f8500c411f5f1dc24166eb9077040f5081 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 20 Mar 2024 10:54:14 -0500 Subject: [PATCH] feat(nvim): add `hex.nvim` --- dots/.config/nvim/lua/plugins/configs/hex.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dots/.config/nvim/lua/plugins/configs/hex.lua diff --git a/dots/.config/nvim/lua/plugins/configs/hex.lua b/dots/.config/nvim/lua/plugins/configs/hex.lua new file mode 100644 index 00000000..c6d31fbc --- /dev/null +++ b/dots/.config/nvim/lua/plugins/configs/hex.lua @@ -0,0 +1,19 @@ +return { + { + "RaafatTurki/hex.nvim", + opts = { + -- Make it explicit, auto detection is cool and all, but annoying for my use case + is_buf_binary_pre_read = function() + return false + end, + is_buf_binary_post_read = function() + return false + end, + }, + cmd = { + "HexDump", + "HexAssemble", + "HexToggle", + }, + }, +}