refactor(runtime): port scripts.vim to lua (#18710)

This commit is contained in:
Jonas Strittmatter
2022-07-03 15:31:56 +02:00
committed by GitHub
parent 0313aba77a
commit acb7a90281
4 changed files with 499 additions and 100 deletions

View File

@@ -11,9 +11,9 @@
" 'ignorecase' option making a difference. Where case is to be ignored use
" =~? instead. Do not use =~ anywhere.
" Only do the rest when the FileType autocommand has not been triggered yet.
if did_filetype()
" Only do the rest when not using Lua filetype detection
" and the FileType autocommand has not been triggered yet.
if exists("g:do_filetype_lua") && g:do_filetype_lua || did_filetype()
finish
endif