← All docs

DOCS

  1. Getting Started
  2. Configuration
  3. Tools
  4. Sessions
  5. Compaction & Branch Summarization
  6. Subagents
  7. Extensions
  8. Themes
  9. Memory System
  10. Skills
  11. Code intelligence (LSP)
  12. Termux Support
  13. Environment variables
  14. Custom Providers
  15. JSON Event Stream Mode
  16. Keybindings
  17. Prompt Templates
  18. RPC Mode
  19. Session File Format
  20. Shell Aliases
  21. Terminal Setup
  22. tmux Setup
DOCS
  1. Getting Started
  2. Configuration
  3. Tools
  4. Sessions
  5. Compaction & Branch Summarization
  6. Subagents
  7. Extensions
  8. Themes
  9. Memory System
  10. Skills
  11. Code intelligence (LSP)
  12. Termux Support
  13. Environment variables
  14. Custom Providers
  15. JSON Event Stream Mode
  16. Keybindings
  17. Prompt Templates
  18. RPC Mode
  19. Session File Format
  20. Shell Aliases
  21. Terminal Setup
  22. tmux Setup
ON THIS PAGE
  1. How detection works
  2. Supported servers
  3. Slash command
  4. Tool actions
  5. Termux notes

Code intelligence (LSP)

Neo Code can use real Language Server Protocol (LSP) servers to navigate code symbols. The lsp tool exposed to the agent and the /lsp slash command both read from the same lazily-spawned LSP manager.

#How detection works

Neo looks for LSP binaries on PATH using command -v. No language servers are bundled. When you call the lsp tool or /lsp init, Neo:

  1. Looks up the LSP server config matching the file extension (or asks every installed server for workspace/symbol).
  2. Spawns the LSP process lazily, one per server, scoped to the current workspace root.
  3. Reuses the same connection for follow-up calls in the same session.
  4. Shuts down LSP processes on SIGINT, SIGTERM, or process.exit.

If no matching binary is on PATH, the tool returns a clear install hint instead of guessing — the agent will fall back to grep/find when needed.

#Supported servers

ServerLanguagesInstall hint
typescript-language-serverTS, JS, JSXnpm install -g typescript-language-server typescript
pyright-langserverPythonnpm install -g pyright
rust-analyzerRustrustup component add rust-analyzer
goplsGogo install golang.org/x/tools/gopls@latest
clangdC, C++apt install clangd / brew install llvm
jdtlsJavainstall Eclipse JDT Language Server, ensure jdtls on PATH
solargraphRubygem install solargraph

#Slash command

/lsp              show installed/running servers (alias of /lsp status)
/lsp status       same as above
/lsp init         start every installed server
/lsp init <id>    start a single server (e.g., /lsp init pyright)
/lsp logs <id>    show recent stderr/log output from a server
/lsp restart <id> restart a running server
/lsp stop         stop all running servers

#Tool actions

The agent tool name remains lsp. Three actions are supported:

  • workspaceSymbols — fuzzy symbol search. path is optional; when omitted Neo asks every installed server.
  • definition — jump to the declaration of a symbol. Requires a path pointing to a source file. Neo finds the first occurrence of query inside that file as the anchor position.
  • references — find all references to a symbol. Same anchoring rules as definition.

#Termux notes

LSP servers are heavy. On Termux/Android most users will not have one installed and the tool will degrade gracefully with an install hint. If you do install typescript-language-server (works on Termux via npm install -g), Neo will spawn it on demand.

ON THIS PAGE

  1. How detection works
  2. Supported servers
  3. Slash command
  4. Tool actions
  5. Termux notes
Previous← SkillsNextTermux Support →

Neo Code

Neosantara-first AI coding agent for your terminal.

Product

  • Docs
  • Pricing
  • GitHub

Neosantara

  • Dashboard
  • API

Legal

  • Terms
  • Privacy

2026 Neosantara. All rights reserved.