ms-jpq / coq_nvim

Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.
GNU General Public License v3.0
3.54k stars 101 forks source link

how do i make coq_nvim to not use nui.nvim #548

Open cheese978 opened 1 year ago

cheese978 commented 1 year ago

coq_nvim doesnt look good with nui.nvim. i asked chatgpt, googled and nothing. thanks.

TheLeoP commented 1 year ago

Coq_nvim does not use nui.nvim in any way. Maybe you changed something in your config to make it use it (?)

ghost commented 1 year ago

My suspesion is that you are referring to this issue: github If so, then the problem is originating form noice.nvim and not nui afaid. Also, setting command_palette to false should do the trick.

There are some other bugs associated with coq.nvim and noice.nvim that's I'll soon open a bug report to.

Let me know if this helps.

ZerdoX-x commented 1 year ago

image

for me the only issue is that that extra info popup is placed randomly and stick to the right of the view

My noice config:

            views = {
                cmdline_popup = {
                    position = {
                        row = 16,
                        col = "50%",
                    },
                    size = {
                        width = 60,
                        height = "auto",
                    },
                },
                popupmenu = {
                    relative = "editor",
                    position = {
                        row = 19,
                        col = "50%",
                    },
                    size = {
                        width = 60,
                        height = 10,
                    },
                    border = {
                        style = "rounded",
                        padding = { 0, 1 },
                    },
                    win_options = {
                        winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" },
                    },
                },
            },
            lsp = {
                override = {
                    ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
                    ["vim.lsp.util.stylize_markdown"] = true,
                },
            },

I tried to experiment with it, removed custom position settings, it didn't help.