pawnlsp

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT

README

pawnlsp

An LSP server for SA-MP/open.mp Pawn. It consumes shared PawnKit libraries for project discovery, analysis, API metadata, diagnostics, and fixes.

Install

go install github.com/pawnkit/pawnlsp/cmd/pawnlsp@latest

Use

Configure your editor's Pawn language client to start pawnlsp over standard input and output.

The server provides:

  • diagnostics on open and change
  • safe quick fixes
  • completion, signature help, and semantic highlighting
  • document symbols, definitions, hover, and references
  • whole-document formatting through pawnfmt
  • Pawn project and pawnlint.toml discovery

The editor must send file:// document URIs.

Contributing

Editor bug reports and focused protocol fixes are welcome. See CONTRIBUTING.md.

Directories

Path Synopsis
cmd
pawnlsp command

Jump to

Keyboard shortcuts

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