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" "lazyvim.plugins.extras.lang.go"
], ],
"news": { "news": {
"NEWS.md": "6520" "NEWS.md": "7107"
}, },
"version": 6 "version": 6
} }
+2 -2
View File
@@ -7,12 +7,12 @@ vim.api.nvim_create_autocmd("InsertLeave", {
-- Disable the concealing in some file formats -- Disable the concealing in some file formats
-- The default conceallevel is 3 in LazyVim -- The default conceallevel is 3 in LazyVim
vim.api.nvim_create_autocmd("FileType", { 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() callback = function()
vim.opt.conceallevel = 0 vim.opt.conceallevel = 0
vim.bo.tabstop = 2 vim.bo.tabstop = 2
vim.bo.softtabstop = 2 vim.bo.softtabstop = 2
vim.bo.shiftwidth = 2 vim.bo.shiftwidth = 2
vim.bo.expand = true -- vim.bo.expand = true
end, end,
}) })
+5
View File
@@ -1,3 +1,5 @@
#/bin/bash
set -e set -e
# delete old package # delete old package
@@ -18,3 +20,6 @@ echo \
sudo apt-get update sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 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