artempyanykh / marksman

Write Markdown with code assist and intelligence in the comfort of your favourite editor.
MIT License
2.07k stars 35 forks source link

Update info in README about out-of-the box support in Vim #330

Closed waldyrious closed 2 months ago

waldyrious commented 3 months ago

The README currently says:

  • Vim:

    • via ale - will support Marksman out-of-the-box once PR is merged; in the meantime...

      Example config (add the following to your ~/.vim/after/ftplugin/markdown.vim):

      if exists('g:loaded_ale')
      call ale#linter#Define('markdown', { 'name': 'marksman', 'lsp': 'stdio', 'executable': 'marksman', 'command': '%e server', 'initialization_options': {} })
      end

Since the mentioned PR https://github.com/dense-analysis/ale/pull/4565 has been merged, shouldn't this section of the README be updated?

artempyanykh commented 2 months ago

Thanks for raising this @waldyrious! I'd be happy to accept README fixes in a PR :)

waldyrious commented 2 months ago

I'd be happy to submit a PR, but as I'm not a Vim user, I'm not really sure what it should say instead :sweat_smile: — can it just be as follows?

  • Vim:
    • via ale - supports Marksman out-of-the-box

I noticed that a new version of ale has not yet been released with that change, so I'm not sure this is really accurate :thinking:

artempyanykh commented 2 months ago

@waldyrious ack! Perhaps this is for the future then. I'll close the issue for now.

waldyrious commented 2 months ago

Maybe the README could still be changed from "once PR 4565 is merged" to "once the changes from PR 4565 are released", or something like that. Otherwise, it seems confusing since the PR is already merged. WDYT? I can submit a PR with that change if you agree.