simple-inserts-language-server

command module
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2025 License: MIT Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL