Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/editor-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,25 @@ Open **Settings > Configure Kate > LSP Client > User Server Settings** and add:
}
```

### Pragtical

1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`), type `Plugin Manager: Show`, and install **Language Server Protocol(LSP)**.

2. Open the Command Palette again, type `Core: Open User Module`, and add:

```lua
local lsp = require "plugins.lsp"

lsp.add_server {
name = "phpantom",
language = "PHP",
file_patterns = { "%.php$" },
command = { "/path/to/phpantom_lsp" }.
transport = "stdio",
requests_per_second = 16,
incremental_changes = false,
verbose = false
}
```

For AI coding agent setup, see [Agent Setup](agent-setup.md).