marksman
marksman copied to clipboard
Error for other filetype
I'm using marksman in neovim with mason, it works good on markdown filetype, but If I set it to other filetype like
filetypes = { "markdown","quarto", "qmd" },
I get
[ERROR][2023-05-02 01:10:44] .../vim/lsp/rpc.lua:734 "rpc" "marksman" "stderr" "[01:10:44 INF] <LSP Entry> Starting Marksman LSP server: {}\n"
I'm using vim-pandoc, so my .md files have pandoc as filetype. I don't get errors, but other filetypes than "markdown" aren't recognized.
marksman = {
filetypes = { "markdown", "pandoc" },
},
When I open a .md file, LspInfo tells me that the filetype is pandoc, but no configured client is attached to this buffer. Of course, if I manually sets the filetype of the buffer to markdown, the marksman client is correctly attached to it.
Below a sceenshot of the :LspInfo output.