treesitter.diffmantic
Semantic diff using Treesitter
Enable
Turn it on with :RafiExtras (Spacemx), or add it to extras in your rafi.json:
json
{ "extras": ["treesitter.diffmantic"] }Plugins
Source
lua/rafi/extras/treesitter/diffmantic.lua
-- Semantic diff using Treesitter
local pack = require('rafi.pack')
pack.later(function()
vim.pack.add({ 'https://github.com/HarshK97/diffmantic.nvim' })
-- Setup only refreshes highlights on ColorScheme.
require('diffmantic').setup({})
end)