[vim/vim] patch 9.2.0958: logrotate files are not recognized (PR #21047)

Brandon Williams (Vim Github Repository) <[email protected]>
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/pull/[email protected]>
Logrotate configurations currently open without a file type unless the user selects one. This detects logrotate.conf, direct children of logrotate.d, the .logrotate and .logrotate.conf suffixes, and otherwise unclassified files whose first line is a complete path stanza.

The filetype regression test failed for each accepted case before the runtime change. make test_filetype.res and make test_codestyle.res pass with the change.

Codex was used to help implement and test this change.
You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21047

-- Commit Summary --

  * patch 9.2.0958: logrotate files are not recognized

-- File Changes --

    M runtime/autoload/dist/ft.vim (14)
    M runtime/autoload/dist/script.vim (12)
    M runtime/filetype.vim (4)
    M src/testdir/test_filetype.vim (21)

-- Patch Links --

https://github.com/vim/vim/pull/21047.patch
https://github.com/vim/vim/pull/21047.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/21047
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/pull/[email protected]>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/21047%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.