summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_lsp/json-ls.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-18 22:19:57 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-18 22:19:57 +0100
commite6fed655e18343e6e399e8198346466effe8c3a8 (patch)
treecdae8ac05aa014a4970f3bdf656cb297527780e5 /.config/nvim/lua/_lsp/json-ls.lua
parent55517dded759e1dd4381792985a6d7fb88df8a1e (diff)
Fix nvim lua scripts
Diffstat (limited to '.config/nvim/lua/_lsp/json-ls.lua')
-rw-r--r--.config/nvim/lua/_lsp/json-ls.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/lua/_lsp/json-ls.lua b/.config/nvim/lua/_lsp/json-ls.lua
index d13fed3..4fbbeff 100644
--- a/.config/nvim/lua/_lsp/json-ls.lua
+++ b/.config/nvim/lua/_lsp/json-ls.lua
@@ -1,5 +1,6 @@
-- npm install -g vscode-json-languageserver
require'lspconfig'.jsonls.setup {
+ on_attach = require'_lsp'.common_on_attach,
commands = {
Format = {
function()