summaryrefslogtreecommitdiff
path: root/ftplugin/dockerfile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/dockerfile.lua')
-rw-r--r--ftplugin/dockerfile.lua11
1 files changed, 1 insertions, 10 deletions
diff --git a/ftplugin/dockerfile.lua b/ftplugin/dockerfile.lua
index e0fa97af..72ec7f90 100644
--- a/ftplugin/dockerfile.lua
+++ b/ftplugin/dockerfile.lua
@@ -1,10 +1 @@
-if require("lv-utils").check_lsp_client_active "dockerls" then
- return
-end
-
--- 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,
-}
+require("lsp").setup "docker"