summaryrefslogtreecommitdiff
path: root/ftplugin/dockerfile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/dockerfile.lua')
-rw-r--r--ftplugin/dockerfile.lua14
1 files changed, 4 insertions, 10 deletions
diff --git a/ftplugin/dockerfile.lua b/ftplugin/dockerfile.lua
index e0fa97af..8a43c764 100644
--- a/ftplugin/dockerfile.lua
+++ b/ftplugin/dockerfile.lua
@@ -1,10 +1,4 @@
-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("lang.dockerfile").format()
+require("lang.dockerfile").lint()
+require("lang.dockerfile").lsp()
+require("lang.dockerfile").dap()