mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
refactor(runtime): port scripts.vim to lua (#18710)
This commit is contained in:
committed by
GitHub
parent
0313aba77a
commit
acb7a90281
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user