From 69347ce034f8966579e72dc969ec808363fdfaeb Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Mon, 19 Apr 2021 21:45:03 +0200 Subject: Add missing files of nvim conf --- .config/nvim/lua/lsp/docker-ls.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .config/nvim/lua/lsp/docker-ls.lua (limited to '.config/nvim/lua/lsp/docker-ls.lua') diff --git a/.config/nvim/lua/lsp/docker-ls.lua b/.config/nvim/lua/lsp/docker-ls.lua new file mode 100644 index 0000000..b477a23 --- /dev/null +++ b/.config/nvim/lua/lsp/docker-ls.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 +} -- cgit v1.2.3-70-g09d2