Help us shape the future of Go! Take the 2026 Go Developer Survey

datastar-lsp

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 4 Imported by: 0

README

DataStar lsp in go

build the binary

go build .
-- in nvim
vim.api.nvim_create_autocmd("FileType", {
	pattern = { "html" },
	callback = function(args)
		vim.lsp.start({
			name = "datastar lsp",
			cmd = { "<path/to/your/binary>" },
			root_dir = vim.fs.root(args.buf, { ".git", "go.mod" }) or vim.fn.getcwd(),
		})
	end,
})

Data Star

Project Structure

.
├── go.mod
├── go.sum
├── handler
│   ├── completion.go
│   ├── datastar
│   │   ├── attributes
│   │   │   ├── data-bind.md
│   │   │   ├── data-on.md
│   │   │   └── data-*.md
│   │   └── data-on
│   │       ├── click.md
│   │       └── *.md
│   ├── handler.go
│   └── hover.go
├── LICENSE
├── main.go
└── README.md

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