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.
Default configuration location is $HOME/.config/lsnip/snippets.toml
, custom location can be passed to --config
(or -c
for short).
Excluding other languages using
[[snippets]]
label = "<div" # required, completion label
lang = "html" # optional, language the snippet is for
doc = "div element" # optional, description
body = """
<div>
$0
</div>"""