Skip to content

Commit c7548e3

Browse files
committed
Add a pre-processor for JSON
1 parent 7d86833 commit c7548e3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
" Author: w0rp <[email protected]>
2+
" Description: Pre-processing rules for JSON files.
3+
4+
function! neural#pre_process#json#Process(buffer, input) abort
5+
let a:input.prompt = 'Write only JSON syntax, no explanation. '
6+
\ . a:input.prompt
7+
endfunction

0 commit comments

Comments
 (0)