File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2506,7 +2506,7 @@ endif
25062506" Function called for testing all functions defined here. These are
25072507" script-local, thus need to be executed here.
25082508" Returns a string with error messages (hopefully empty).
2509- func ! TestFiletypeFuncs (testlist)
2509+ func ! TestPolyglotFiletypeFuncs (testlist)
25102510 let output = ' '
25112511 for f in a: testlist
25122512 try
Original file line number Diff line number Diff line change @@ -902,6 +902,7 @@ def generate_fallback
902902 filetype_content . gsub! ( /^au StdinReadPost \* .+?runtime!.+?endif/m ) { }
903903 filetype_content . gsub! ( /^au filetypedetect BufNewFile,BufRead,StdinReadPost \* \n .+?endif/m ) { }
904904 filetype_content . gsub! ( "dist#ft#" , "polyglot#ft#" )
905+ filetype_content . gsub! ( "TestFiletypeFuncs" , "TestPolyglotFiletypeFuncs" )
905906 File . write ( 'extras/filetype.vim' , filetype_content )
906907 File . write ( 'extras/menu.vim' , File . read ( 'tmp/vim/vim-v8.2.4274/runtime/menu.vim' ) )
907908
You can’t perform that action at this time.
0 commit comments