mirror of
https://github.com/neovim/neovim.git
synced 2025-12-12 17:42:37 +00:00
vim-patch:2ffb4d0: runtime(lua): fix whitespace style issues in lua ftplugin (#33378)
related: vim/vim#17049
2ffb4d0298
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
" Language: Lua
|
" Vim filetype plugin file.
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
|
||||||
" Previous Maintainer: Max Ischenko <mfi@ukr.net>
|
" Language: Lua
|
||||||
" Contributor: Dorai Sitaram <ds26@gte.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" C.D. MacEachern <craig.daniel.maceachern@gmail.com>
|
" Previous Maintainer: Max Ischenko <mfi@ukr.net>
|
||||||
" Tyler Miller <tmillr@proton.me>
|
" Contributor: Dorai Sitaram <ds26@gte.com>
|
||||||
" Phạm Bình An <phambinhanctb2004@gmail.com>
|
" C.D. MacEachern <craig.daniel.maceachern@gmail.com>
|
||||||
" @konfekt
|
" Tyler Miller <tmillr@proton.me>
|
||||||
" Last Change: 2025 Apr 04
|
" Phạm Bình An <phambinhanctb2004@gmail.com>
|
||||||
|
" @konfekt
|
||||||
|
" Last Change: 2025 Apr 04
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
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")
|
if exists("loaded_matchit") && !exists("b:match_words")
|
||||||
let b:match_ignorecase = 0
|
let b:match_ignorecase = 0
|
||||||
let b:match_words =
|
let b:match_words =
|
||||||
\ '\<\%(do\|function\|if\)\>:' ..
|
\ '\<\%(do\|function\|if\)\>:' ..
|
||||||
\ '\<\%(return\|else\|elseif\)\>:' ..
|
\ '\<\%(return\|else\|elseif\)\>:' ..
|
||||||
\ '\<end\>,' ..
|
\ '\<end\>,' ..
|
||||||
\ '\<repeat\>:\<until\>,' ..
|
\ '\<repeat\>:\<until\>,' ..
|
||||||
\ '\%(--\)\=\[\(=*\)\[:]\1]'
|
\ '\%(--\)\=\[\(=*\)\[:]\1]'
|
||||||
let b:undo_ftplugin ..= " | unlet! b:match_words b:match_ignorecase"
|
let b:undo_ftplugin ..= " | unlet! b:match_words b:match_ignorecase"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user