8000 GitHub - tianyaochou/lsnip
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tianyaochou/lsnip

Repository files navigation

lsnip

An LSP server for snippets for editors that support multiple lsp servers but not snippets(for example Helix)

Snippet syntax comforms to LSP snippet syntax.

Usage

Default configuration location is $HOME/.config/lsnip/snippets.toml, custom location can be passed to --config(or -c for short).

Excluding other languages using

Example configuration

[[snippets]]
label = "<div" # required, completion label
lang = "html" # optional, language the snippet is for
doc = "div element" # optional, description
body = """
<div>
  $0
</div>"""

Future ideas

⚠️Run arbitrary shell command in snippets

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0