d4a802e201ff6e654086632616a1e77237a6aadd

Author
Pavle Portic <pavle.portic@tilda.center>
Committer
Pavle Portic <pavle.portic@tilda.center>
Date

Message

Disable quote conceal in vim for JSON files

Diff

 1diff --git a/dot_spacevim b/dot_spacevim
 2index 41dee782d6fc0aeaa9143c5624dbb1e20da32b8f..91ef18eeb63aaeb33f4cc44e3c5c8cece8c43d65 100644
 3--- a/dot_spacevim
 4+++ b/dot_spacevim
 5@@ -211,8 +211,9 @@ function! UserConfig()
 6 	" Don't insert title into new files
 7 	autocmd! spacevimNewFile BufNewFile *.py,*.cpp,*.c,*.sh,*.java,*.pl
 8 
 9-	" Format json file
10+	" Format files
11 	command! FormatJSON %!python -m json.tool
12+	command! FormatPython %!yapf
13 
14 	" Format braces in C file
15 	command! FormatBraces %s/\n\s*{/ {/g
16@@ -237,6 +238,9 @@ function! UserConfig()
17 	" Vue syntax highlight speedup
18 	let g:vue_disable_pre_processors=1
19 
20+	" JSON disable quote conceal
21+	let g:vim_json_syntax_conceal = 0
22+
23 	" Ale settings
24 	let g:airline#extensions#ale#enabled = 1
25 	let g:ale_linters = {