Feel-ix-343 / markdown-oxide

Robust PKM on the LSP
https://oxide.md
GNU General Public License v3.0
929 stars 15 forks source link

[Bug] Completion does not work for markdown files inside folder #26

Closed ray-x closed 6 months ago

ray-x commented 6 months ago

reference: #24 Without folder (both current file and file cta.md in root folder of workspace),

image

With folder (both current file and file cta.md in pages subfolder of workspace),

image

LspInfo

 Detected filetype:   markdown

2 client(s) attached to this buffer: 

 Client: markdown_oxide (id: 3, bufnr: [2])
    filetypes:       markdown
    autostart:       true
    root directory:  /Users/rayx/obsidian
    cmd:             /Users/rayx/bin/markdown-oxide
Feel-ix-343 commented 6 months ago

Hey!

The completions were set up to be the path relative to the folder. There have been several issues opened about this, so I changed the default here b60fc9e. Markdown links have been set up for the filenames for a while, but as of that commit, wikilink completions will be set up that way as well.

I'm going to close this. Repoen it if your issue is not resolved.