Skip to content

Commit dd138c1

Browse files
committed
feat(chat): switch to treesitter based chat parsing
this greatly improves performance compared to line by line matching Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
1 parent 1d8aa27 commit dd138c1

3 files changed

Lines changed: 219 additions & 180 deletions

File tree

lua/CopilotChat/config/mappings.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,4 +584,13 @@ return {
584584
})
585585
end,
586586
},
587+
588+
show_messages = {
589+
normal = 'gm',
590+
callback = function()
591+
copilot.chat:overlay({
592+
text = '```lua' .. vim.inspect(copilot.chat.messages) .. '```',
593+
})
594+
end,
595+
},
587596
}

0 commit comments

Comments
 (0)