From b8ecf5ffab3fdacd35f2836f1ddddd9366192fe6 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Wed, 2 Aug 2023 19:08:33 +0200 Subject: [PATCH] add d2 lang support --- Dockerfile | 3 ++- lua/lazy-load.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f586630..382c926 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,7 +59,8 @@ RUN dnf install -y \ ${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${PERL_DEVEL_PKGS} \ && dnf clean all && \ cpanm PLS && \ - pip install ${PIP_PKGS} + pip install ${PIP_PKGS} && \ + curl -fsSL https://d2lang.com/install.sh | sh -s -- RUN rm /root/.config/nvim/lazy-lock.json || true # install lsp and linters using mason diff --git a/lua/lazy-load.lua b/lua/lazy-load.lua index 68e65e1..9909878 100644 --- a/lua/lazy-load.lua +++ b/lua/lazy-load.lua @@ -1,4 +1,5 @@ require("lazy").setup({ + { 'terrastruct/d2-vim' }, -- Nvim-tree stuff { 'nvim-tree/nvim-web-devicons' }, -- optional, for file icons {