Skip to content

LSP not working properlly after creating code cells #263

@moises-sls

Description

@moises-sls

After creating an r code cell, the LSP and the autocomplete suggestions for functions imported from an R package stops working.

To Reproduce
In a empty .qmd file, import any R package, then when typing a function name or a dataset from the imported package, the autocomplete will work properly.

Now, delete those lines and then create an r code cell, after putting the same code inside the cell, now the autocomplete doesn't show the function/dataset that it previously have shown.

It does not matter if you run the code in the terminal, if there is a r code cell, the autocomplete suggestions doesn't show up.

Screenshots
Without code cells in the file:
Image

Within a code cell:
Image

Another package:

Without code cells in the file:
Image

Within a code cell:
Image

System

  • OS: Fedora Linux 42
  • Nvim version: 0.11.4
  • otter.nvim version: 2.13.2

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