Mercurial > vim
diff src/testdir/test_filetype.vim @ 22989:7160e85d62ff v8.2.2041
patch 8.2.2041: haskell filetype not optimally recognized
Commit: https://github.com/vim/vim/commit/a09bee322e605c8a076fa23c3d3259495a1129d2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 24 20:13:26 2020 +0100
patch 8.2.2041: haskell filetype not optimally recognized
Problem: Haskell filetype not optimally recognized.
Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
closes #7354)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 24 Nov 2020 20:15:03 +0100 |
parents | f39f960f3ea0 |
children | d01b011f91b9 |
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -204,8 +204,8 @@ let s:filename_checks = { \ 'gsp': ['file.gsp'], \ 'gtkrc': ['.gtkrc', 'gtkrc', '.gtkrc-file', 'gtkrc-file'], \ 'haml': ['file.haml'], - \ 'hamster': ['file.hsc', 'file.hsm'], - \ 'haskell': ['file.hs', 'file.hs-boot'], + \ 'hamster': ['file.hsm'], + \ 'haskell': ['file.hs', 'file.hsc', 'file.hs-boot'], \ 'haste': ['file.ht'], \ 'hastepreproc': ['file.htpp'], \ 'hb': ['file.hb'],