summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2023-02-27 21:30:40 +0100
committerMartin Bielik <mx.bielik@gmail.com>2023-02-27 21:30:40 +0100
commit7588a9d8a702a9be27ea4b05b521220ab171a2ee (patch)
tree1c6010b55563059ccb0e1a9085201cb9c3c15ca9
parentb6c6e9d01984b9d8db5b1362692b745a850eb7a3 (diff)
downloadvim-ai-7588a9d8a702a9be27ea4b05b521220ab171a2ee.tar.gz
fixed comment syntax
Diffstat (limited to '')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index c836e30..a6e9bbd 100644
--- a/README.md
+++ b/README.md
@@ -45,11 +45,11 @@ vnoremap <leader>a :AI<CR>
To customize and re-use prompts it is useful to put some context to the language model. You can do it with prepending text to `:AI` command.
```vim
-# key binding with custom context
+" key binding with custom context
vnoremap <leader>s :AI fix grammar and spelling and use formal language<CR>
nnoremap <leader>s :AI fix grammar and spelling and use formal language<CR>
-# command with custom context
+" command with custom context
command! -range -nargs=? AICode <line1>,<line2>call AIRun("Programming syntax is " . &filetype, <f-args>)
```
## License