diff --git a/nvim/lazyvim.json b/nvim/lazyvim.json index 7c86e8d..2e2dda1 100644 --- a/nvim/lazyvim.json +++ b/nvim/lazyvim.json @@ -4,7 +4,7 @@ "lazyvim.plugins.extras.lang.go" ], "news": { - "NEWS.md": "6520" + "NEWS.md": "7107" }, "version": 6 } \ No newline at end of file diff --git a/nvim/lua/config/autocmds.lua b/nvim/lua/config/autocmds.lua index 00a871d..881274f 100644 --- a/nvim/lua/config/autocmds.lua +++ b/nvim/lua/config/autocmds.lua @@ -7,12 +7,12 @@ vim.api.nvim_create_autocmd("InsertLeave", { -- Disable the concealing in some file formats -- The default conceallevel is 3 in LazyVim vim.api.nvim_create_autocmd("FileType", { - pattern = {"js","tsx","ts", "json", "jsonc", "markdown","md","css","html" }, + pattern = { "js", "tsx", "ts", "json", "jsonc", "markdown", "md", "css", "html" }, callback = function() vim.opt.conceallevel = 0 vim.bo.tabstop = 2 vim.bo.softtabstop = 2 vim.bo.shiftwidth = 2 - vim.bo.expand = true + -- vim.bo.expand = true end, }) diff --git a/script/docker-install.sh b/script/docker-install.sh index 9c8bcd8..4e24e8f 100644 --- a/script/docker-install.sh +++ b/script/docker-install.sh @@ -1,3 +1,5 @@ +#/bin/bash + set -e # delete old package @@ -18,3 +20,6 @@ echo \ sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin + +# add to docker group +sudo usermod -aG docker $USER