-
Notifications
You must be signed in to change notification settings - Fork 96
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 install and configure coq using lazy plugin manager? #620
Comments
Just use |
This works, but I am looking for configuring coq like the way conf documentation has suggested. |
Maybe that was the way coq opt to init isn't support by lazy ? |
I have no idea. Just seeking a way to configure coq. |
Have you tried to set the configuration using the
|
This is my config: {
"ms-jpq/coq_nvim",
branch = "coq",
lazy = false,
build = ":COQdeps",
dependencies = {
{ "ms-jpq/coq.artifacts", branch = "artifacts" },
{ "ms-jpq/coq.thirdparty", branch = "3p" },
},
init = function()
vim.g.coq_settings = {
auto_start = "shut-up",
}
end,
config = function()
-- extra config here
end,
}, |
@dapicester Thanks for sharing your config, this was really helpful to me. If I may suggest a small improvement : |
I use lazy plugin manager for installing plugins on my neovim. This is how I installed coq:
I want to configure coq so I don't have to enter
COQnow
command each time, so I have usedconfig
property of lazy plugin manager. The problem is none of suggested ways in conf. documentation or even this comment would help. This is how I use config method:And I get
.../.config/nvim/lua/plugins/completion.lua:6: unexpected symbol near '.'
.I have also tried this way:
What should I do?
The text was updated successfully, but these errors were encountered: