Skip to content

Conversation

zeertzjq
Copy link
Member

Problem: filetype: help filetype detection may have false positives.
Solution: Only detect a file as help if modeline appears either at start
of line or is preceded by whitespace.

Problem:  filetype: help filetype detection may have false positives.
Solution: Only detect a file as help if modeline appears either at start
          of line or is preceded by whitespace.
@chrisbra
Copy link
Member

thanks

@chrisbra chrisbra closed this in 6763b0e Mar 10, 2025
@zeertzjq zeertzjq deleted the filetype-help branch March 10, 2025 22:12
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Mar 10, 2025
Problem:  filetype: false positive help filetype detection
Solution: Only detect a file as help if modeline appears either at start
          of line or is preceded by whitespace (zeertzjq).

closes: vim/vim#16845

vim/vim@6763b0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants