feat: new config

This commit is contained in:
2024-02-20 21:19:43 +08:00
parent 3fad1b11f4
commit b49026c12e
45 changed files with 1072 additions and 427 deletions
+6
View File
@@ -0,0 +1,6 @@
-- npm install -g dockerfile-language-server-nodejs
require'lspconfig'.dockerls.setup {
cmd = {DATA_PATH .. "/lspinstall/dockerfile/node_modules/.bin/docker-langserver", "--stdio"},
on_attach = require'lsp'.common_on_attach,
root_dir = vim.loop.cwd
}