From b6c6e9d01984b9d8db5b1362692b745a850eb7a3 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Mon, 27 Feb 2023 21:29:55 +0100 Subject: syntax highlighting --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3596cce..c836e30 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ export OPENAI_API_TOKEN="YOUR_OPENAPI_TOKEN" Add plugin to your `.vimrc`, e.g. using `vim-plug`: -```vimscript +```vim Plug 'madox2/vim-ai' ``` @@ -35,7 +35,7 @@ Plug 'madox2/vim-ai' Map keys in your `.vimrc` to trigger `:AI` command. -```vimscript +```vim nnoremap a :AI vnoremap a :AI ``` @@ -44,7 +44,7 @@ vnoremap a :AI 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. -```vimscript +```vim # key binding with custom context vnoremap s :AI fix grammar and spelling and use formal language nnoremap s :AI fix grammar and spelling and use formal language -- cgit v1.2.3