Initial commit
This commit is contained in:
commit
209ba130c0
4852 changed files with 1517959 additions and 0 deletions
12
.config/lite-xl/plugins/lsp_yaml/init.lua
Normal file
12
.config/lite-xl/plugins/lsp_yaml/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_yaml" .. PATHSEP .. "yaml-language-server" .. PATHSEP .. "dist" .. PATHSEP .. "index.js"
|
||||
local node = require "libraries.nodejs"
|
||||
|
||||
lspconfig.yamlls.setup(common.merge({
|
||||
command = { node.path_bin, installed_path, "--stdio" },
|
||||
}, config.plugins.lsp_yaml or {}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue