Open files in Neovim
nvim_open_fileOpen files in Neovim buffers to activate LSP clients. Returns buffer ID, filetype, line count, and attached clients for subsequent LSP operations.
Instructions
Open one or more files in Neovim buffers and start their LSP clients. Pass a single path or an array of paths. Returns the buffer id, filetype, line count and attached LSP clients for each file. Call this before LSP tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, or an array of file paths, absolute or relative to the server cwd | |
| wait_ms | No | Milliseconds to wait for the LSP client to attach |