Open a file in Neovim
nvim_open_fileOpen a file in a Neovim buffer and start its LSP client. Returns buffer id, filetype, line count, and attached LSP clients for use with LSP tools.
Instructions
Open a file in a Neovim buffer and start its LSP client. Returns the buffer id, filetype, line count and attached LSP clients. Call this before LSP tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, absolute or relative to the server cwd | |
| wait_ms | No | Milliseconds to wait for the LSP client to attach |