You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated the plugin to the latest version before submitting this issue
I have searched the existing issues of noice.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.11.0-dev-903+gab98c5b5a
Operating system/version
Windows, WSL
Describe the bug
The rendering of google-style Python docstrings is different compared to Neovim's built-in signature help.
Built-in
Noice
As you can see, the indentation of parameters is getting "flattened", the parameter names are listed twice, and value has its description written twice where the other two parameters are listed twice but the description only once
The docstring should be largely the same formatting as the original. Parameters are listed exactly once, with description information.
Repro
vim.env.LAZY_STDPATH=".repro"load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec= {
{
"neovim/nvim-lspconfig",
config=function()
locallspconfig=require("lspconfig")
localcapabilities=vim.lsp.protocol.make_client_capabilities()
lspconfig.basedpyright.setup {
capabilities=capabilities,
on_attach=on_attach,
settings= {
basedpyright= {
analysis= { diagnosticMode="openFilesOnly", typeCheckingMode="off" },
}
}
}
end,
},
{
"folke/noice.nvim",
event="VeryLazy",
config=function()
require("noice").setup({
lsp= {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**override= {
["vim.lsp.util.convert_input_to_markdown_lines"] =true,
["vim.lsp.util.stylize_markdown"] =true,
["cmp.entry.get_documentation"] =true, -- requires hrsh7th/nvim-cmp
},
},
-- you can enable a preset for easier configurationpresets= {
bottom_search=true, -- use a classic bottom cmdline for searchcommand_palette=true, -- position the cmdline and popupmenu togetherlong_message_to_split=true, -- long messages will be sent to a splitinc_rename=false, -- enables an input dialog for inc-rename.nvimlsp_doc_border=false, -- add a border to hover docs and signature help
},
})
end,
dependencies= {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries"MunifTanjim/nui.nvim",
}
},
}
})
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-903+gab98c5b5a
Operating system/version
Windows, WSL
Describe the bug
The rendering of google-style Python docstrings is different compared to Neovim's built-in signature help.
Built-in
Noice
As you can see, the indentation of parameters is getting "flattened", the parameter names are listed twice, and
value
has its description written twice where the other two parameters are listed twice but the description only onceSteps To Reproduce
Using this example file:
reproduction.lua
nvim -u reproduction.lua test.py
foo()
parenthesesExpected Behavior
The docstring should be largely the same formatting as the original. Parameters are listed exactly once, with description information.
Repro
The text was updated successfully, but these errors were encountered: