feat: dockerfile tab size and autoremove trailing spaces
This commit is contained in:
parent
73f138bcc9
commit
4cd15f1681
@ -2,7 +2,5 @@
|
||||
require'lspconfig'.dockerls.setup {}
|
||||
|
||||
-- variables
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.tabstop = 2
|
||||
|
||||
-- keybindings
|
||||
|
@ -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>")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user