feat: dockerfile tab size and autoremove trailing spaces

This commit is contained in:
aduhayon 2022-08-10 15:37:57 +02:00
parent 73f138bcc9
commit 4cd15f1681
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,5 @@
require'lspconfig'.dockerls.setup {}
-- variables
vim.o.shiftwidth = 2
vim.o.tabstop = 2
-- keybindings

View File

@ -32,6 +32,8 @@ vim.o.foldlevel = 99
vim.o.grepprg = "grep -rn $*"
vim.wo.cc = "80"
vim.cmd("au BufWrite * :%s/\\s\\+$//e")
-- keybindings
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>")