diff options
Diffstat (limited to '.config/nvim/ftplugin/dockerfile.lua')
-rw-r--r-- | .config/nvim/ftplugin/dockerfile.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/ftplugin/dockerfile.lua b/.config/nvim/ftplugin/dockerfile.lua new file mode 100644 index 0000000..37b4317 --- /dev/null +++ b/.config/nvim/ftplugin/dockerfile.lua @@ -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, +} |