summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/json.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-10-05 08:46:35 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-10-05 08:46:35 +0200
commit77cdf208765ad351e48724ed5ad57e55703eca61 (patch)
tree7f19757b255ab66895d9240a5aca77a35cef8aac /.config/nvim/ftplugin/json.lua
parent4fd170aa9d55b7bcd1f0a9445c9e136b560e3220 (diff)
Add major update to LSP from lunarvim
Diffstat (limited to '.config/nvim/ftplugin/json.lua')
-rw-r--r--.config/nvim/ftplugin/json.lua7
1 files changed, 6 insertions, 1 deletions
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 = {},
+ },
+}