From 77cdf208765ad351e48724ed5ad57e55703eca61 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 5 Oct 2021 08:46:35 +0200 Subject: Add major update to LSP from lunarvim --- .config/nvim/ftplugin/json.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config/nvim/ftplugin/json.lua') diff --git a/.config/nvim/ftplugin/json.lua b/.config/nvim/ftplugin/json.lua index 18368cf..9483cd0 100644 --- a/.config/nvim/ftplugin/json.lua +++ b/.config/nvim/ftplugin/json.lua @@ -1 +1,6 @@ -require("lsp").setup "json" +options.lang.json.formatters = { + { + exe = "prettier", + args = {}, + }, +} -- cgit v1.2.3-70-g09d2