]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1464: strace filetype detection is expensive v9.0.1464
authorFederico Mengozzi <19249682+fedemengo@users.noreply.github.com>
Mon, 17 Apr 2023 21:31:38 +0000 (22:31 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 17 Apr 2023 21:31:38 +0000 (22:31 +0100)
commit6e5a9f948221b52caaaf106079cb3430c4dd7c77
treee22fbc7d41e12e87de97afdaff9dc24f34f04ad5
parent4c42c7eef43ff0f58fa574f7a900c8a3313f372e
patch 9.0.1464: strace filetype detection is expensive

Problem:    Strace filetype detection is expensive.
Solution:   Match with a cheap pattern first. (Federico Mengozzi,
            closes #12220)
runtime/autoload/dist/script.vim
src/testdir/test_filetype.vim
src/version.c