Closed kobzar closed 1 year ago
Did you set a custom value to row
or col
in float_win
? Also could you provide your neovim version and the config used?
I am use LazyVim https://www.lazyvim.org/configuration/plugins
Neovim: 0.9.4
I was try with different configuration like default e.t.c
return {
"luckasRanarison/nvim-devdocs",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("nvim-devdocs").setup()
end,
}
and the same with
return {
"luckasRanarison/nvim-devdocs",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("nvim-devdocs").setup({
dir_path = vim.fn.stdpath("data") .. "/devdocs", -- installation directory
telescope = {}, -- passed to the telescope picker
float_win = { -- passed to nvim_open_win(), see :h api-floatwin
relative = "editor",
height = 25,
width = 100,
border = "rounded",
},
wrap = false, -- text wrap, only applies to floating window
previewer_cmd = nil, -- for example: "glow"
cmd_args = {}, -- example using glow: { "-s", "dark", "-w", "80" }
cmd_ignore = {}, -- ignore cmd rendering for the listed docs
picker_cmd = false, -- use cmd previewer in picker preview
picker_cmd_args = {}, -- example using glow: { "-s", "dark", "-w", "50" }
after_open = function(bufnr)
vim.api.nvim_buf_set_keymap(bufnr, "n", "<Esc>", ":close<CR>", {})
end,
})
end,
}
Open with/without Float
After Enter error is present
Make Fetch and install python3.11 Run DevOpsOpen(any variant) Find needed method - for example pathlib.Path.mkdir press Enter key and got the error