Skip to content

Error when calling equire("meow.yarn").open_tree("call_hierarchy", "callers") #17

@raphaelahrens

Description

@raphaelahrens

Hi I wanted to try this plugin and ran into an issue when I tried to use it in a rust project.

When I call require("meow.yarn").open_tree("call_hierarchy", "callers") on any function in the rust project, the starts to render, but fails with multiple error like these.

Interestingly this does not happen when I call require("meow.yarn").open_tree("call_hierarchy", "callers").

vim.schedule callback: .../nvim/pack/default/start/nui.nvim/lua/nui/utils/init.lua:300: 'replacement string' item contains newlines
stack traceback:
        [C]: in function 'nvim_buf_set_lines'
        .../nvim/pack/default/start/nui.nvim/lua/nui/utils/init.lua:300: in function 'render_lines'
        ...g/nvim/pack/default/start/nui.nvim/lua/nui/tree/init.lua:471: in function 'render'
        ...default/start/meow.yarn.nvim/lua/meow/yarn/hierarchy.lua:612: in function 'callback'
        ...t/start/meow.yarn.nvim/lua/meow/yarn/strategies/call.lua:85: in function 'callback'
        ...pack/default/start/meow.yarn.nvim/lua/meow/yarn/util.lua:74: in function 'handler'
        /usr/local/share/nvim/runtime/lua/vim/lsp/client.lua:742: in function 'fn'
        vim/_core/editor.lua:273: in function <vim/_core/editor.lua:272>

I use NeoVim 0.12.1

nvim --version
NVIM v0.12.1
Build type: Release
LuaJIT 2.1.1774896198

I not sure on how to debug this, so let me know what you need and where I should supply more information.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions