Skip to content

yaegassy/coc-marksman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coc-marksman

fork from a marksman-vscode

Integrates Marksman language server into coc.nvim for delightful Markdown note taking experience.

coc-marksman-demo.mp4

See the project page for more detailed information.

Install

:CocInstall @yaegassy/coc-marksman

scoped packages

Configuration options

  • marksman.enable: Enable coc-marksman extension, default: true
  • marksman.customCommand: allows to specify a custom command to start marksman. Mostly useful for development of marksman itself.
  • marksman.customCommandDir: allows to specify a CWD for the command above. For development it's convenient to set the command to dotnet run and the command dir to the dir where marksman sources are.
  • marksman.trace.server: Traces the communication between coc.nvim and the language server, valid option: ["off", "messages", "verbose"], default: "off"

Commands

  • marksman.restartServer: Marksman: Restart Server
  • marksman.showOutputChannel: Marksman: Show Output

Code Actions

Marksman has a code action to create and update a table of contents of a document.

This code action is source level. Please key mapping <Plug>(coc-codeaction-source) in coc.nvim to call it.

nmap <leader>as  <Plug>(coc-codeaction-source)

Thanks

License

MIT


This extension is built with create-coc-extension