SWLS ships as a VS Code extension, but the underlying language server (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SemanticWebLanguageServer/swls-vscode/llms.txt
Use this file to discover all available pages before exploring further.
swls) is a standalone binary that communicates over standard LSP — any editor with LSP support can use it. For NeoVim, an official plugin is available that handles installation and wiring automatically. If you prefer full control, you can also set up the binary manually using nvim-lspconfig.
swls.nvim plugin
The recommended way to use SWLS in NeoVim is through the official swls.nvim plugin. It manages binary downloads, file-type detection, and LSP client configuration for you.SemanticWebLanguageServer/swls.nvim
Official NeoVim plugin for SWLS — installation instructions and full configuration reference.
Manual setup with nvim-lspconfig
If you want to wire upswls yourself — for example, to use a specific binary version or integrate it into an existing LSP configuration — you can point nvim-lspconfig directly at the swls binary.
1. Download the binary
Grab the appropriate pre-built binary for your platform from the GitHub releases page:
https://github.com/SemanticWebLanguageServer/swls/releases
Available targets: linux-x86_64, linux-aarch64, macos-x86_64, macos-arm64, windows-x86_64.exe, windows-arm64.exe.
2. Make it executable (Linux/macOS)
swls is not a built-in nvim-lspconfig server, register it as a custom config first using require('lspconfig.configs'), then call .setup {} to activate it. The minimal Lua configuration below covers the four file types SWLS understands:
.ttl, .trig, .jsonld, .rq, or .sq out of the box. Add the mappings via vim.filetype.add() in your init file:
lspconfig setup so that the file type is resolved correctly when a buffer is opened.
Manual setup is intended for advanced use cases. The swls.nvim plugin handles binary downloads, file-type registration, and LSP configuration automatically — you do not need any of the above steps when using it.