Skip to content

"Unresolved Reference" on .md files in subfolders #274

@yaboibigjohn

Description

@yaboibigjohn

Summary

Links to md files in subdirectories from the root are not found by the LSP
I have a strange feeling that I'm missing something obvious in my setup

Image

My setup code using Mason:

--setting up replace using Blink rather than cmp, seems to work fine
local capabilities = require('blink.cmp').get_lsp_capabilities()
local servers = {
  lua_ls = {
    settings = {
      Lua = {
        completion = {
          callSnippet = 'Replace',
        },
      },
    },
  },
  markdown_oxide = {
    capabilities = vim.tbl_deep_extend('force', capabilities, {
      workspace = {
        didChangeWatchedFiles = {
          dynamicRegistration = true,
        },
      },
    }),
  },
}
local ensure_installed = vim.tbl_keys(servers or {})
vim.list_extend(ensure_installed, {
  'biome',
  'lua_ls',
  'stylua',
})
require('mason-tool-installer').setup { ensure_installed = ensure_installed }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions