Skip to content

[feat] add lsp/diagnostics support for embedded languages #2

@jmbuhr

Description

@jmbuhr
  • get embedded language chunks base on treesitter AST
  • create hidden buffer with only the code of one language
  • attach lsp server to this buffer
  • synchronize position in qmd buffer with hidden R/python/julia buffer
  • send lsp requests from the hidden buffer
  • display results in qmd buffer
  • make autocommands for this

current best idea: improve https://github.com/AckslD/nvim-FeMaco.lua to use these language buffers

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions