diff options
author | christianchiarulli <[email protected]> | 2021-07-05 16:26:31 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-05 16:26:31 -0400 |
commit | 20485971641a9d916640ccad05586a641c984ed6 (patch) | |
tree | d397a3a9adba502b4c26b802d897b8310972f76f /ftplugin/dockerfile.lua | |
parent | 56e82dac4497293541099185441485dd31e98dc8 (diff) | |
parent | a469c710bfc01f291df68dba40464caaa2b496da (diff) |
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable
Diffstat (limited to 'ftplugin/dockerfile.lua')
-rw-r--r-- | ftplugin/dockerfile.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/dockerfile.lua b/ftplugin/dockerfile.lua new file mode 100644 index 00000000..37b4317f --- /dev/null +++ b/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, +} |