Skip to content

github-language-server/github-lsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-lsp

https://asciinema.org/a/645196

CI

https://asciinema.org/a/645195

github-lsp is an implementation of the Language Server Protocol for working with GitHub Markdown files.

This is a tool for getting link suggestions while writing READMEs and GitHub Wiki pages locally.

Use this LSP in conjunction with some other Markdown LSP if you want gotoDefinition et.al. This LSP only focuses on adding autocomplete to

  • # Issues and PRs
  • [ Public Wiki Pages
  •  : Organizations / Owners
  •  / Repositories (yours and the orgs you are part of, no global search yet)
  •  @ Organization Members

Issues and PRs are very welcome!

Requirements

This LSP uses the amazing gh so you will need to install that and auth with it. We currently use it for retrieving your auth token, and for meta about the current repo.

gh auth login

Install

cargo install --git https://github.com/github-language-server/github-lsp
git clone git@github.com:alexanderbrevig/github-lsp # here you can see why : is for owners and / is for repositories
cd github-lsp
cargo install --path .

You can now configure your editor to use this LSP on stdio.

Items added by LSP

# trigger

#1: Example open issue #2: Example closed issue

@ trigger

AlexanderBrevig

: trigger

github-language-server

/ trigger

github-language-server/github-lsp

[ trigger (Home is always suggested)

Home