summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/dockerfile.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-22 00:08:36 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-22 00:08:36 +0200
commitb51f1ae28924a752258e7607fbc3210f9b18eaac (patch)
tree8c8c095528990b3f6eb499dbcca15e9720e636d1 /.config/nvim/ftplugin/dockerfile.lua
parentda936b0ed9ac4c171d3c7908e41af1875a82b08b (diff)
Updates based on Chris's lunarvim
Diffstat (limited to '.config/nvim/ftplugin/dockerfile.lua')
-rw-r--r--.config/nvim/ftplugin/dockerfile.lua14
1 files changed, 4 insertions, 10 deletions
diff --git a/.config/nvim/ftplugin/dockerfile.lua b/.config/nvim/ftplugin/dockerfile.lua
index cbf3572..8a43c76 100644
--- a/.config/nvim/ftplugin/dockerfile.lua
+++ b/.config/nvim/ftplugin/dockerfile.lua
@@ -1,10 +1,4 @@
-if require("cfg.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("cfg.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()