fix: docker install

This commit is contained in:
2024-11-18 16:32:16 +08:00
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"lazyvim.plugins.extras.lang.go"
],
"news": {
"NEWS.md": "6520"
"NEWS.md": "7107"
},
"version": 6
}
+2 -2
View File
@@ -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,
})
+5
View File
@@ -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