From a100d7fd0ab9106c8403df104fadfe2261152f0b Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Tue, 24 Dec 2024 06:09:24 -0800 Subject: [PATCH] Add MacVim-specific settings to .editorconfig Previously Xcode and other editors were silently picking up the new Vim .editorconfig which uses hard tabs. Add MacVim-specific settings to make tools play nice with MacVim code base. --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index a586af40e2..0c98d7638d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -23,3 +23,7 @@ trim_trailing_whitespace = false [runtime/doc/**.txt] # It can mess up some documentation by trying to strip trailing whitespaces trim_trailing_whitespace = false + +[src/MacVim/**] +indent_style = space +indent_size = 4