Skip to content

Commit ee37ba9

Browse files
author
Case Nelson
committed
updating version and README for library move - removing npm as we no longer need it
1 parent 6de437b commit ee37ba9

File tree

5 files changed

+11
-30
lines changed

5 files changed

+11
-30
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/node_modules
21
/.nrepl-port
32
/.lein-repl-history
43
/.lein-failures

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#0.2.0
2+
- Moved library to rplugin/node you can now install/update with Vundle.
3+
14
#0.1.3
25
- Bump neovim-client version.
36
- IMPORTANT you need to `cd ~/.config/nvim/bundle/node-host && npm upgrade` to fix a bug in the plugin host that caused the parinfer to crash (should use `neovim-client 1.0.6` dependency)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ https://shaunlebron.github.io/parinfer
55

66
# Installation
77

8-
*When you clone, the local directory name must end in `.js`*
9-
108
### Pre-requisites
119
[Install node.js](https://nodejs.org)
1210

1311
[Install latest neovim](https://github.com/neovim/neovim/wiki/Installing-Neovim)
1412

1513
[Install node-host](https://github.com/neovim/node-host)
1614

17-
### Inside this repo:
15+
### Vundle
1816

19-
`npm install`
17+
Using Vundle, add this to your vundle .config/nvim/init.vim section:
2018

21-
`mkdir -p ~/.config/nvim/rplugin/node && ln -s $PWD ~/.config/nvim/rplugin/node`
22-
(neovim [moved the config location here](https://github.com/neovim/neovim/wiki/Following-HEAD))
19+
```
20+
Plugin 'snoe/nvim-parinfer.js'
21+
```
2322

2423
### Inside nvim
24+
- `:PluginInstall`
2525
- `:UpdateRemotePlugins` you should see `remote/host: node host registered plugins ['nvim-parinfer.js']`
2626
- *restart* nvim
2727
- infer pars
2828

2929
# Problems / troubleshooting
3030

31-
Undo after normal mode changes doesn't work well because parinfer's changes go to the top of the stack and popping just causes parinfer to run again.
31+
Undo after normal mode changes doesn't work well because parinfer's changes go to the top of the stack and popping just causes parinfer to run again. Use `2u` to pop two things off the stack if you run into this situation.
3232

3333
This does not seem to work well with paredit's insert mappings, I'd suggest turning it off `let g:paredit_mode = 0`
3434

package.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject nvim-parinfer "0.1.2-SNAPSHOT"
1+
(defproject nvim-parinfer "0.2.0-SNAPSHOT"
22
:description "A neovim parinfer plugin"
33
:url "http://github.com/snoe/nvim-parinfer.js"
44

0 commit comments

Comments
 (0)