Skip to content

Commit 255586b

Browse files
committed
add tagging policy and lazy instructions
1 parent fd61ff3 commit 255586b

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

README.md

+18-12
Original file line numberDiff line numberDiff line change
@@ -172,27 +172,33 @@ text objects to behave.
172172

173173
Make sure you have [`stack`](https://docs.haskellstack.org/en/stable/install_and_upgrade/) on your PATH!
174174

175+
For [vim-plug](https://github.com/junegunn/vim-plug):
176+
175177
```viml
176178
Plug 'kana/vim-textobj-user'
177179
Plug 'neovimhaskell/nvim-hs.vim'
178-
Plug 'isovector/cornelis', { 'do': 'stack build' }
180+
Plug 'isovector/cornelis', { 'do': 'stack build', 'tag': '*' }
179181
```
180182

183+
for [lazy.nvim](https://github.com/folke/lazy.nvim):
181184

182-
### Agda Version
183-
184-
`cornelis` is tested only against `agda-2.6.3`. If you run into weird error
185-
messages from vim, it's probably because you're running an old version of
186-
`agda`. If possible, try upgrading, if not, file a bug and I'll see if I can
187-
help.
185+
```lua
186+
{
187+
'isovector/cornelis',
188+
name = 'cornelis',
189+
ft = 'agda',
190+
build = 'stack install',
191+
dependencies = {'neovimhaskell/nvim-hs.vim', 'kana/vim-textobj-user'},
192+
version = '*',
193+
}
194+
```
188195

189-
In addition, there are some bugs in the most recent version of `agda` that
190-
negatively affect `cornelis`. For best results, build from head, ensuring you
191-
have the following patches:
192196

193-
- https://github.com/agda/agda/pull/5752
194-
- https://github.com/agda/agda/pull/5776
197+
### Agda Version
195198

199+
If you are having issues, try using a tag which matches your agda major version
200+
(e.g. for Agda `v2.7.0.1` use cornelis `v2.7.*`). If there is no matching
201+
version that is working for a new version of agda, please create an issue.
196202

197203
### Installation with Nix
198204

0 commit comments

Comments
 (0)