From e6fed655e18343e6e399e8198346466effe8c3a8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 18 Mar 2021 22:19:57 +0100 Subject: Fix nvim lua scripts --- .config/nvim/lua/_lsp/json-ls.lua | 1 + 1 file changed, 1 insertion(+) (limited to '.config/nvim/lua/_lsp/json-ls.lua') 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() -- cgit v1.2.3-70-g09d2