Completions by Marksman dont't work at all in Neovim (macOS)

See original GitHub issue

Hello there!

I try to use Marksman in Neovim 0.9. I’ve configured cmp and LSP correctly (tested on other filetypes), but marksman don’t want to show me the completions from the LSP. And looks like hover doesn’t work too.

How I tested:

  1. I’ve created two files test1.md and test2.md; both placed in the same directory with .git.
  2. Add the header “##header” to test1 and try to make a link to it in test2.
  3. All these completions didn’t work (|—the cursor): 3.1. [[te|]] 3.2. [[test1#h|]] 3.4. [my-link](te|) 3.5. [my-link](test1#h|)

Here is example that shows no completions by LSP (the should be in the first place). 1

What work:

  1. In the same time the diagnostics works: when I delete any symbol from correct link I receive the warning about incorrect link (sorry but not sure it’s because of marksman or other linter I use).
  2. And following by the link by (vim.lsp.buf.definition()).

Issue Analytics

  • State:open
  • Created 4 months ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
artempyanykhcommented, Jun 11, 2023

@Feel-ix-343 thanks for posting you config! What would also be really helpful is if you could run marksman with verbose logs marksman server -v=5 (or something along this lines) and paste the server and LSP logs here. It seems that the problem affects a few people but I so far couldn’t reproduce.

1reaction
mediapathiccommented, May 29, 2023

I believe I am having the same, or similar, issue. Also on mac, using the Astronvim framework, new install, so fairly clean. I know marksman is installed and working generally because I can do symbol searches, but no completions (spaces or no) seem to work.

@mnddm this doesn’t solve the issue, but a workaround I’ve found: starting a link with ./, in my setup, triggers a completion based on filepath, unrelated to marksman. This might help you till we figure out this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · artempyanykh/marksman
Marksman Errors When Opening a File in Nvim: System. ... Completions by Marksman dont't work at all in Neovim (macOS) needs-further-input Further ...
Read more >
nvim-lspconfig/doc/server_configurations.md at master
This documentation is autogenerated from the Lua files. You can view this file in Nvim by running :help lspconfig-all . als; anakin_language_server; angularls ......
Read more >
Weekly Stupid Questions Thread : r/neovim
I have LSP and Treesitter set up using marksman. As far as I can tell, if I open a file that has no...
Read more >
Why is Neovim's init file not working on my Mac?
(Using MacOS) For some reason, the ~/.config/nvim file was not provided by default. So I created that directory and in it, the init.vim...
Read more >
How I Setup Neovim On My Mac To Make It Amazing - YouTube
I hope this video serves as inspiration for your own setups and also as a detailed guide for all things Neovim. Hope you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found