Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in GpChatToggle #238

Open
myarcana opened this issue Dec 23, 2024 · 0 comments
Open

Typo in GpChatToggle #238

myarcana opened this issue Dec 23, 2024 · 0 comments

Comments

@myarcana
Copy link

myarcana commented Dec 23, 2024

While working on #234, I noticed this surprise

I guess this ~= in ChatToggle should be a == instead

gp.nvim/lua/gp/init.lua

Lines 855 to 857 in 2372d53

-- if the range is 2, we want to create a new chat file with the selection
if params.range ~= 2 then
local last = M._state.last_chat

@myarcana myarcana changed the title Type in GpChatToggle Typo in GpChatToggle Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant