Initial commit
This commit is contained in:
commit
209ba130c0
4852 changed files with 1517959 additions and 0 deletions
12
.config/lite-xl/plugins/lsp_json/init.lua
Normal file
12
.config/lite-xl/plugins/lsp_json/init.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-- mod-version:3
|
||||
|
||||
local lspconfig = require "plugins.lsp.config"
|
||||
local common = require "core.common"
|
||||
local config = require "core.config"
|
||||
|
||||
local installed_path = USERDIR .. PATHSEP .. "plugins" .. PATHSEP .. "lsp_json" .. PATHSEP .. "vscode-json-languageserver" .. PATHSEP .. "dist" .. PATHSEP .. "index.js"
|
||||
local node = require "libraries.nodejs"
|
||||
|
||||
lspconfig.jsonls.setup(common.merge({
|
||||
command = { node.path_bin, installed_path, "--stdio" },
|
||||
}, config.plugins.lsp_json or {}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue