@@ -172,27 +172,33 @@ text objects to behave.
172
172
173
173
Make sure you have [ ` stack ` ] ( https://docs.haskellstack.org/en/stable/install_and_upgrade/ ) on your PATH!
174
174
175
+ For [ vim-plug] ( https://github.com/junegunn/vim-plug ) :
176
+
175
177
``` viml
176
178
Plug 'kana/vim-textobj-user'
177
179
Plug 'neovimhaskell/nvim-hs.vim'
178
- Plug 'isovector/cornelis', { 'do': 'stack build' }
180
+ Plug 'isovector/cornelis', { 'do': 'stack build', 'tag': '*' }
179
181
```
180
182
183
+ for [ lazy.nvim] ( https://github.com/folke/lazy.nvim ) :
181
184
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
+ ```
188
195
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:
192
196
193
- - https://github.com/agda/agda/pull/5752
194
- - https://github.com/agda/agda/pull/5776
197
+ ### Agda Version
195
198
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.
196
202
197
203
### Installation with Nix
198
204
0 commit comments