clone
README.md

simple-inserts-language-server #

Go Report Card MIT Go Reference builds.sr.ht status

Simple Inserts Language Server is a language server that allows you to insert calculated attributes in your documents. To begin with, go's date formats are included (datetime-rfc822, etc).

I don't want to do any static mappings because simple-completions-language-server's unicode input support can be used for this.

Install #

You can download ready-made binaries for some architectures but going to "refs", choosing a version and then downloading the file from the left hand side column.

If you have the go toolchain available, you can build this tool from source

$ go install git.sr.ht/~jcmuller/simple-inserts-language-server@latest

or, via nix flakes

$ nix profile install 'sourcehut:~jcmuller/simple-inserts-language-server'

Usage #

Here is an example of how to use this with helix:

# languages.toml

[[language]]
auto-format = true
language-servers = ["sils"]
name = "markdown"

[language-server.sils]
command = "simple-inserts-language-server"

asciicast

The server can be executed directly:

$ simple-inserts-language-server

or using nix flakes:

$ nix run 'sourcehut:~jcmuller/simple-inserts-language-server/main'

Roadmap #

  • Support more types of completions