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
2506
2506
" Function called for testing all functions defined here. These are
2507
2507
" script-local, thus need to be executed here.
2508
2508
" Returns a string with error messages (hopefully empty).
2509
- func ! TestFiletypeFuncs (testlist)
2509
+ func ! TestPolyglotFiletypeFuncs (testlist)
2510
2510
let output = ' '
2511
2511
for f in a: testlist
2512
2512
try
Original file line number Diff line number Diff line change @@ -902,6 +902,7 @@ def generate_fallback
902
902
filetype_content . gsub! ( /^au StdinReadPost \* .+?runtime!.+?endif/m ) { }
903
903
filetype_content . gsub! ( /^au filetypedetect BufNewFile,BufRead,StdinReadPost \* \n .+?endif/m ) { }
904
904
filetype_content . gsub! ( "dist#ft#" , "polyglot#ft#" )
905
+ filetype_content . gsub! ( "TestFiletypeFuncs" , "TestPolyglotFiletypeFuncs" )
905
906
File . write ( 'extras/filetype.vim' , filetype_content )
906
907
File . write ( 'extras/menu.vim' , File . read ( 'tmp/vim/vim-v8.2.4274/runtime/menu.vim' ) )
907
908
You can’t perform that action at this time.
0 commit comments