Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 46) sorted by relevance

12

/vim-8.2.3635/runtime/tools/
H A Ddemoserver.py21 import json
55 decoded = json.loads(data)
67 encoded = json.dumps([decoded[0], response])
/vim-8.2.3635/runtime/syntax/
H A Djson.vim13 let main_syntax = 'json'
31 " Needs to come after keywords or else a json encoded string will break the
63 …" Syntax: No comments in JSON, see http://stackoverflow.com/questions/244777/can-i-comment-a-json-…
123 let b:current_syntax = "json"
124 if main_syntax == 'json'
H A Djsonc.vim18 " Based on vim-json syntax
19 runtime! syntax/json.vim
H A D8th.vim48 Builtin ;;; G:;;; ;with G:;with <# G:<# <#> G:<#> >clip G:>clip >json G:>json >kind G:>kind >n G:>n
63 …ed G:items-used jcall G:jcall jclass G:jclass jmethod G:jmethod json! G:json! json-8th> G:json-8th>
64 Builtin json-nesting G:json-nesting json-pretty G:json-pretty json-throw G:json-throw json> G:json>
65 Builtin json@ G:json@ k32 G:k32 keep G:keep l: G:l: last G:last lib G:lib libbin G:libbin libc G:l…
H A Ddockerfile.vim12 syntax include @JSON syntax/json.vim
H A Drego.vim35 syn match regoFuncEncoding3 "\<\(json\|yaml\)\.\(marshal\|unmarshal\)\>"
H A Dyaml.vim158 if b:yaml_schema is# 'json'
/vim-8.2.3635/runtime/ftplugin/
H A Djavascript.vim36 \ .. "JSON Files (*.json)\t*.json\n"
41 setlocal suffixesadd+=.js,.jsx,.es,.es6,.cjs,.mjs,.jsm,.vue,.json
H A Dtypescript.vim32 \ "JSON Files (*.json)\t*.json\n" .
H A Djsonc.vim9 runtime! ftplugin/json.vim
/vim-8.2.3635/src/testdir/
H A Dtest_channel.py9 import json
58 decoded = json.loads(used)
234 encoded = json.dumps([decoded[0], response])
H A Dtest_json.vim110 call assert_fails('echo json_encode(function("tr"))', 'E1161: Cannot json encode a func')
111 call assert_fails('echo json_encode([function("tr")])', 'E1161: Cannot json encode a func')
249 call assert_fails('echo js_encode(function("tr"))', 'E1161: Cannot json encode a func')
250 call assert_fails('echo js_encode([function("tr")])', 'E1161: Cannot json encode a func')
334 let json = json_encode([repeat('a', 3996)])
335 call assert_equal(4000, len(json))
H A Dtest_channel.vim177 call ch_setoptions(handle, {'mode': 'json'})
1011 \ {'out_io': 'buffer', 'out_mode': 'json'})
1225 \ 'out_mode': 'json',
1227 \ 'err_mode': 'json'})
1238 " Receive a json object split in pieces
1322 \ 'out_mode': 'json',
1324 \ 'err_mode': 'json'})
2258 \ {'mode' : 'json'},
2259 \ {'out_mode' : 'json'},
2260 \ {'err_mode' : 'json'},
H A Dtest_filetype.vim263 …\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file…
/vim-8.2.3635/runtime/indent/
H A Djson.vim3 " Maintainer: Eli Parra <[email protected]> https://github.com/elzr/vim-json
5 " https://github.com/jakar/vim-json/commit/20b650e22aa750c4ab6a66aa646bdd95d7cd548a#diff-e81fc111…
6 " Original Author: Rogerz Zhang <rogerz.zhang at gmail.com> http://github.com/rogerz/vim-json
H A Djsonc.vim4 " Acknowledgement: Based off of vim-json maintained by Eli Parra <[email protected]>
5 " https://github.com/elzr/vim-json
/vim-8.2.3635/runtime/doc/
H A Dsign.txt568 " buffer json.c
569 call sign_place(5, '', 'sign1', 'json.c',
572 " Updates sign 5 in buffer json.c to use sign2
573 call sign_place(5, '', 'sign2', 'json.c')
576 " buffer json.c with a new identifier
577 let id = sign_place(0, '', 'sign3', 'json.c',
581 " at line 40 in buffer json.c with priority 90
582 call sign_place(10, 'g3', 'sign4', 'json.c',
/vim-8.2.3635/src/proto/
H A Djson.pro1 /* json.c */
/vim-8.2.3635/src/
H A DMakefile1643 json.c \
1875 objects/json.o \
1891 objects/json.o \
1900 objects/json.o \
1908 objects/json.o \
1980 json.pro \
3386 objects/json.o: json.c
3387 $(CCC) -o $@ json.c
H A Dchannel.c2551 char_u *json = NULL; in channel_exe_cmd() local
2573 json = json_encode_nr_expr(id, tv, options | JSON_NL); in channel_exe_cmd()
2574 if (tv == NULL || (json != NULL && *json == NUL)) in channel_exe_cmd()
2578 vim_free(json); in channel_exe_cmd()
2581 json = json_encode_nr_expr(id, &err_tv, options | JSON_NL); in channel_exe_cmd()
2583 if (json != NULL) in channel_exe_cmd()
2587 json, (int)STRLEN(json), (char *)cmd); in channel_exe_cmd()
2588 vim_free(json); in channel_exe_cmd()
H A DMake_ami.mak131 json.c \
H A DMake_mvc.mak785 $(OUTDIR)\json.obj \
1704 $(OUTDIR)/json.obj: $(OUTDIR) json.c $(INCL)
1984 proto/json.pro \
H A DMake_vms.mms359 json.c \
480 json.obj \
916 json.obj : json.c vim.h [.auto]config.h feature.h os_unix.h \
/vim-8.2.3635/runtime/
H A Dfiletype.vim875 au BufNewFile,BufRead *.json,*.jsonp,*.webmanifest setf json
878 au BufNewFile,BufRead *.json-patch setf json
880 " Jupyter Notebook is also json
881 au BufNewFile,BufRead *.ipynb setf json
883 " Other files that look like json
884 au BufNewFile,BufRead .babelrc,.eslintrc,.prettierrc,.firebaserc setf json
1298 au BufNewFile,BufRead Pipfile.lock setf json
/vim-8.2.3635/
H A DFilelist88 src/json.c \
267 src/proto/json.pro \

12