Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Language Server (LSP) Setup

boruna-lsp implements the Language Server Protocol for .ax files.

Build

cargo build --bin boruna-lsp

VS Code

Install the official LSP client extension (coming soon), or configure manually in .vscode/settings.json:

{
  "boruna.lsp.serverPath": "/path/to/boruna-lsp"
}

Or use the generic vscode-languageclient setup with any LSP-capable extension.

Neovim (nvim-lspconfig)

require('lspconfig').boruna_lsp.setup {
  cmd = { '/path/to/boruna-lsp' },
  filetypes = { 'ax' },
  root_dir = require('lspconfig.util').root_pattern('Cargo.toml', '.git'),
}

Features

FeatureStatus
Real-time diagnostics (errors, warnings)✓
Keyword and built-in completion✓
Document formatting (boruna fmt)✓
Hover (function signatures)✓
Go-to-definitionplanned
Rename symbolplanned