summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp/docker-ls.lua
blob: b477a2395e43bd2761bbab52b392da840b04a9e4 (plain)
1
2
3
4
5
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
}