Built on tree-sitter-postgres, postgres-lsp implements the Language Server Protocol for PostgreSQL SQL and PL/pgSQL. Point your editor at it for .sql files and get diagnostics, navigation, completion, and formatting backed by real PostgreSQL grammar rather than regex heuristics.
Features
Diagnostics — Parse errors from tree-sitter reported as LSP diagnostics
Semantic Tokens — Syntax highlighting via semantic token classification