Add function to define Neovim signs

This commit is contained in:
themodrnhakr 2025-10-02 16:10:27 -05:00
parent c2aafde0c8
commit ecdb456815

View File

@ -17,8 +17,16 @@ local function _run_jj_command(args)
return output
end
-- Define Neovim signs for diff
local function _define_signs()
vim.fn.sign_define("JjDiffAdd", { text = "", texthl = "JjDiffAdd", numhl = "JjDiffAdd" })
vim.fn.sign_define("JjDiffChange", { text = "", texthl = "JjDiffChange", numhl = "JjDiffChange" })
vim.fn.sign_define("JjDiffDelete", { text = "", texthl = "JjDiffDelete", numhl = "JjDiffDelete" })
end
function M.setup(opts)
opts = opts or {}
_define_signs() -- Call to define signs
-- TODO: Implement configuration options
end