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

How to customize the coq goals panel? #2

Open
Allen191819 opened this issue May 3, 2023 · 1 comment
Open

How to customize the coq goals panel? #2

Allen191819 opened this issue May 3, 2023 · 1 comment

Comments

@Allen191819
Copy link

Now when I enter neovim, the coq goals panel automatically appears. Can I turn auto-on off in the setup configuration?Or can I customize the width and position of that panel in the setup configuration? Thanks!

@tomtomjhj
Copy link
Owner

tomtomjhj commented May 4, 2023

Can I turn auto-on off in the setup configuration?

You can unset "autostart" option from lspconfig. Please see the updated readme.

But this might not be what you really want. It requires you to manually run :LspStart to launch coq-lsp for the first time, but once coq-lsp has started, it will automatically attach new coq buffers.

There are two possible design choices for improvements.

  • Option for disabling "auto-attach": This may require quite a bit of work because the current behavior is the intended behavior of lspconfig.
  • Option for disabling automatically opening the panel: Don't bother with attaching, and just let the user manually open the panel. Implementing this is easier.

Or can I customize the width and position of that panel in the setup configuration?

Currently, there is no option for this. I will add it soon-ish.

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

2 participants