From f95e150518e40f08a2cb31365e90895e31465d7e Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Thu, 15 Jul 2021 05:44:25 +0430 Subject: Default config reformat (#951) --- lua/lang/json.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'lua/lang/json.lua') diff --git a/lua/lang/json.lua b/lua/lang/json.lua index 22d87e22..45edfeb8 100644 --- a/lua/lang/json.lua +++ b/lua/lang/json.lua @@ -1,8 +1,17 @@ local M = {} M.config = function() - -- TODO: implement config for language - return "No config available!" + O.lang.json = { + diagnostics = { + virtual_text = { spacing = 0, prefix = "" }, + signs = true, + underline = true, + }, + formatter = { + exe = "python", + args = { "-m", "json.tool" }, + }, + } end M.format = function() -- cgit v1.2.3