diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 3c81fa8607..ce2eebbd69 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -946,6 +946,7 @@ is_na_patch() { '-I^\s+$' \ '-I^#\s*(ifdef|if.*defined\().*FEAT_' \ '-I^#\s*(else|endif)' \ + '-I^EXTERN type_T t_.* INIT[2-9]\(' \ '-I^EXTERN char e_(abstract|class|enum|interface|type)_' \ '-I^EXTERN char e_.*def_function' \ '-I^EXTERN char e_.*enddef' \ @@ -962,6 +963,7 @@ is_na_patch() { '-I^\s+$' \ '-I^#\s*(ifdef|if.*defined\().*FEAT_' \ '-I^#\s*(else|endif)' \ + '-I^\s+\{"prop_[a-z]+",.*f_prop_[a-z]+},$' \ '-I#\s*define.*ex_ni$' \ '-I[_.>]sc_version = ' \ '-I[_.>]uf_script_ctx_version = ' \