marksman icon indicating copy to clipboard operation
marksman copied to clipboard

Error for other filetype

Open fecet opened this issue 2 years ago • 1 comments

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"

fecet avatar May 01 '23 17:05 fecet

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.

image

iGormilhit avatar Jun 02 '23 13:06 iGormilhit