From 1ffc7d6bf89c9fedf79486f5714e665c65b383ce Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 8 Apr 2025 08:07:26 +0800 Subject: vim-patch:2ffb4d0: runtime(lua): fix whitespace style issues in lua ftplugin (#33378) related: vim/vim#17049 https://github.com/vim/vim/commit/2ffb4d0298426f6c57f3ec3caae4480024e4372d Co-authored-by: Christian Brabandt --- runtime/ftplugin/lua.vim | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/runtime/ftplugin/lua.vim b/runtime/ftplugin/lua.vim index 945af2dbac..7b85e81bf2 100644 --- a/runtime/ftplugin/lua.vim +++ b/runtime/ftplugin/lua.vim @@ -1,12 +1,14 @@ -" Language: Lua -" Maintainer: Doug Kearns -" Previous Maintainer: Max Ischenko -" Contributor: Dorai Sitaram -" C.D. MacEachern -" Tyler Miller -" Phạm Bình An -" @konfekt -" Last Change: 2025 Apr 04 +" Vim filetype plugin file. + +" Language: Lua +" Maintainer: Doug Kearns +" Previous Maintainer: Max Ischenko +" Contributor: Dorai Sitaram +" C.D. MacEachern +" Tyler Miller +" Phạm Bình An +" @konfekt +" Last Change: 2025 Apr 04 if exists("b:did_ftplugin") finish @@ -41,11 +43,11 @@ let b:undo_ftplugin = "setl cms< com< def< fo< inc< inex< sua<" if exists("loaded_matchit") && !exists("b:match_words") let b:match_ignorecase = 0 let b:match_words = - \ '\<\%(do\|function\|if\)\>:' .. - \ '\<\%(return\|else\|elseif\)\>:' .. - \ '\,' .. - \ '\:\,' .. - \ '\%(--\)\=\[\(=*\)\[:]\1]' + \ '\<\%(do\|function\|if\)\>:' .. + \ '\<\%(return\|else\|elseif\)\>:' .. + \ '\,' .. + \ '\:\,' .. + \ '\%(--\)\=\[\(=*\)\[:]\1]' let b:undo_ftplugin ..= " | unlet! b:match_words b:match_ignorecase" endif -- cgit