From fc1079bc5131f029e1931954779ecff844b016a5 Mon Sep 17 00:00:00 2001 From: Souravpakhira Date: Tue, 9 May 2023 15:15:57 +0530 Subject: [PATCH] feat: added docker pack --- lua/astrocommunity/pack/docker/docker.lua | 27 ++++++++++++++--------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/lua/astrocommunity/pack/docker/docker.lua b/lua/astrocommunity/pack/docker/docker.lua index e6892aac3..b2c720c2c 100644 --- a/lua/astrocommunity/pack/docker/docker.lua +++ b/lua/astrocommunity/pack/docker/docker.lua @@ -1,12 +1,19 @@ -local utils = require "astronvim.utils" +local utils = require("astronvim.utils") return { - { - "williamboman/mason-lspconfig.nvim", - opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, - "docker-compose-language-service", "dockerfile-language-server") end, - }, - { - "jay-babu/mason-null-ls.nvim", - opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "hadolint") end, - }, + { + "williamboman/mason-lspconfig.nvim", + opts = function(_, opts) + opts.ensure_installed = utils.list_insert_unique( + opts.ensure_installed, + "docker-compose-language-service", + "dockerfile-language-server" + ) + end, + }, + { + "jay-babu/mason-null-ls.nvim", + opts = function(_, opts) + opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "hadolint") + end, + }, }