From 539aad7940d7f9a90ce12cd0c16308f29b9ef743 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 13 Jul 2023 07:53:10 -0700 Subject: [PATCH] [vim] Strip trailing whitespace from lua files on save --- vimrc.common | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc.common b/vimrc.common index ad4a087..f748382 100644 --- a/vimrc.common +++ b/vimrc.common @@ -244,6 +244,7 @@ if has('autocmd') autocmd FileType python call strip_trailing_whitespace() autocmd FileType c,cpp,objc,objcpp call strip_trailing_whitespace() autocmd FileType html,css call strip_trailing_whitespace() + autocmd FileType lua call strip_trailing_whitespace() augroup END " Indent wrapped long lines of code to leading indent