Skip to content

Commit ab7e260

Browse files
committed
docs
1 parent f94f4d0 commit ab7e260

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changes
22

3-
## [5.0.0](https://github.com/neovim/node-client/compare/v4.11.0...v5.0.0) (2024-03-01)
3+
## [5.0.1](https://github.com/neovim/node-client/compare/v4.11.0...v5.0.1) (2024-03-01)
44

55
- Renamed `getNvimFromEnv` to `findNvim`
66
- fix: `findNvim()` fails if path has spaces. #319

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ See below for a quickstart example that you can copy and run immediately.
1717

1818
## Usage
1919

20-
The `neovim` package exposes these functions:
20+
### Functions
21+
22+
The `neovim` package provides these functions:
2123

2224
- `findNvim`: Tries to find a usable `nvim` binary on the current system.
2325
- `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:
2628

2729
Following is a complete, working example.
2830

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).
3032
```bash
3133
npm install neovim
3234
```
@@ -226,7 +228,7 @@ mv -f packages/neovim/doc/types/* types/
226228
mv packages/neovim/doc/* .
227229
rm -r packages/
228230
git add *
229-
git commit
231+
git commit -m 'publish docs'
230232
git push origin HEAD:gh-pages
231233
```
232234

@@ -240,7 +242,7 @@ After cloning the repo, run `npm install` to install dev dependencies. The main
240242
* [@mhartington](https://github.com/mhartington) for TypeScript rewrite
241243
* [@fritzy](https://github.com/fritzy) for transferring over the npm package repo `neovim`!
242244
* [@rhysd](https://github.com/rhysd), [@tarruda](https://github.com/tarruda), [@nhynes](https://github.com/nhynes) on work for the original `node-client`
243-
* [@justinmk](https://github.com/justinmk) General neovim maintainer
245+
* [@justinmk](https://github.com/justinmk) Neovim maintainer
244246

245247
[Coverage Badge]: https://codecov.io/gh/neovim/node-client/branch/master/graph/badge.svg
246248
[Coverage Report]: https://codecov.io/gh/neovim/node-client

0 commit comments

Comments
 (0)