You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ See below for a quickstart example that you can copy and run immediately.
17
17
18
18
## Usage
19
19
20
-
The `neovim` package exposes these functions:
20
+
### Functions
21
+
22
+
The `neovim` package provides these functions:
21
23
22
24
-`findNvim`: Tries to find a usable `nvim` binary on the current system.
23
25
-`attach`: The primary interface. Takes a process, socket, or pair of write/read streams and returns a `NeovimClient` connected to an `nvim` process.
@@ -26,7 +28,7 @@ The `neovim` package exposes these functions:
26
28
27
29
Following is a complete, working example.
28
30
29
-
1. Install the `neovim` package _locally_ (i.e. without `-g`. Node throws `ERR_MODULE_NOT_FOUND` if a script imports a _globally_ installed package).
31
+
1. Install the `neovim` package _locally_in any directory (i.e. without `-g`. Node throws `ERR_MODULE_NOT_FOUND` if a script imports a _globally_ installed package).
@@ -240,7 +242,7 @@ After cloning the repo, run `npm install` to install dev dependencies. The main
240
242
*[@mhartington](https://github.com/mhartington) for TypeScript rewrite
241
243
*[@fritzy](https://github.com/fritzy) for transferring over the npm package repo `neovim`!
242
244
*[@rhysd](https://github.com/rhysd), [@tarruda](https://github.com/tarruda), [@nhynes](https://github.com/nhynes) on work for the original `node-client`
0 commit comments