feat: add nvim

This commit is contained in:
2022-01-16 15:05:09 +08:00
parent f66e4a5f6b
commit 364134990d
78 changed files with 4144 additions and 821 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
}