summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin/env.vim
AgeCommit message (Collapse)AuthorFiles
2026-02-28vim-patch:9148644: runtime(env): add ftplugin for env filetype (#38098)zeertzjq1
Patch 9.2.0033 (vim/vim#19260) introduced a dedicated `env` filetype for .env files, which were previously detected as `sh`. This left env files without `commentstring`, `comments`, or `formatoptions` since no ftplugin was added alongside the new filetype. Add runtime/ftplugin/env.vim to set these options, matching the behavior that .env files had when they used the `sh` filetype. closes: vim/vim#19522 https://github.com/vim/vim/commit/9148644c1eb73faad702eacac2d40925c0c9a2d0 Co-authored-by: snelling-a <72226000+snelling-a@users.noreply.github.com>