lsp in ftplugin austonautomoy

This commit is contained in:
christianchiarulli 2021-07-01 23:42:26 -04:00
parent 9bb4f8a085
commit 20ed47e21e
45 changed files with 404 additions and 142 deletions

6
ftplugin/docker.lua Normal file
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
}