Skip to content
New issue

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

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

Already on GitHub? # to your account

Opening Python file puts editor into insert mode (instead of normal mode) #639

Open
stefanvanburen opened this issue Jan 15, 2025 · 2 comments
Labels
bug Something isn't working client-python

Comments

@stefanvanburen
Copy link
Contributor

Hi,

I didn't see a report for this already, but it looks like when I open up a Python file with Conjure enabled, it opens up the REPL and then sets the mode to Insert mode. (I'd expect it to leave the mode alone, leaving it in Normal mode.)

Happy to give more details / a reproduction if this doesn't repro for anyone else.

@Olical Olical added bug Something isn't working client-python labels Jan 15, 2025
@Olical
Copy link
Owner

Olical commented Jan 15, 2025

I think I saw someone mention this before and it wasn't Conjure but something else 🤔 but maybe I'm imagining that? I can't reproduce this issue in my current Neovim configuration which is interesting.

I can open a Python file, the REPL starts and I stay in Normal mode. It could well be another plugin that's getting a little confused when Conjure creates the log window / buffer. Do you see this with other languages? And does it definitely go away if the only thing you disable is Conjure?

Do you have any other plugins installed for Python development specifically?

@stefanvanburen
Copy link
Contributor Author

I've weirdly only seen this with Python - if I remove it from the list of enabled filetypes in my config, the log window doesn't open and the window goes away. I basically just have treesitter + pylsp enabled; nothing too out of the ordinary. I can take a closer look tomorrow to see if I can narrow it down.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working client-python
Projects
None yet
Development

No branches or pull requests

2 participants