From a266efa6b75a3b16c31bd957d0c54a93b7a40bc7 Mon Sep 17 00:00:00 2001 From: Konano Date: Thu, 14 Nov 2024 15:55:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(.vimrc):=20=E4=BF=AE=E5=A4=8D=20Python=20?= =?UTF-8?q?=E5=92=8C=20Makefile=20=E7=9A=84=E8=87=AA=E5=8A=A8=E7=BC=A9?= =?UTF-8?q?=E8=BF=9B=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/.vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/.vimrc b/files/.vimrc index 77f283a..2135df4 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -15,7 +15,7 @@ set showmatch " 高亮显示匹配的括号 set showcmd " 显示还没有输入完整的命令 filetype plugin indent on " 启用文件类型检测、插件支持和自动缩进 -autocmd FileType python,make setlocal tabstop=4 shiftwidth=4 softtabstop-4 +autocmd FileType python,make setlocal tabstop=4 shiftwidth=4 softtabstop=4 autocmd FileType python,make setlocal indentkeys-=<:> autocmd FileType python,make setlocal indentkeys-=: autocmd FileType make setlocal noexpandtab " 对于 Makefile 文件,禁用使用空格代替 Tab 键进行缩进