Extends *.inc,*.mac,*.int filetype detection to recognize ObjectScript Routines.
*.mac, *.int,*.inc, files currently don't detect ObjectScript Routines.
runtime/filetype.vim
*.mac to dist#ft#FTmac()*.int to dist#ft#FTint()runtime/autoload/dist/ft.vim (FTmac(),FTinc(),FTinc()):
IsObjectScriptRoutine()) (checks for routine header in first line)Extended src/testdir/test_filetype.vim with routine detection coverage:
Test_inc_file()
ROUTINE ... case -> objectscript_routine.inc behavior checks unchangedTest_int_file()
hexROUTINE ... case -> objectscript_routineTest_mac_file()
asmROUTINE ... case -> objectscript_routinehttps://github.com/vim/vim/pull/19805
(4 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()