diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-25 22:48:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-25 22:48:53 -0500 |
| commit | 4537ff659efbc65f4c94b88cce8fb3c39d03aae5 (patch) | |
| tree | 50dc58f07bc9f3b05b1635fac63aff30e9d23e1e /runtime/filetype.vim | |
| parent | dd00c74737241945187e3e0b939d289af25e505e (diff) | |
| parent | fe5dc266483aa4878b30ecc660b5401648545f27 (diff) | |
| download | rneovim-4537ff659efbc65f4c94b88cce8fb3c39d03aae5.tar.gz rneovim-4537ff659efbc65f4c94b88cce8fb3c39d03aae5.tar.bz2 rneovim-4537ff659efbc65f4c94b88cce8fb3c39d03aae5.zip | |
Merge pull request #13375 from janlazo/vim-8.2.2041
vim-patch:8.1.{2290,2390},8.2.{242,257,302,303,462,991,996,2041,2042,2043,2047,2048,2049,2054}
Diffstat (limited to 'runtime/filetype.vim')
| -rw-r--r-- | runtime/filetype.vim | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 4e54bcaefd..b9d2a43d5d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -693,15 +693,9 @@ au BufNewFile,BufRead *.haml setf haml " Hamster Classic | Playground files au BufNewFile,BufRead *.hsm setf hamster -au BufNewFile,BufRead *.hsc - \ if match(join(getline(1,10), "\n"), '\%(^\|\n\)\s*\%({-#\_s*LANGUAGE\>\|\<module\>\)') != -1 | - \ setf haskell | - \ else | - \ setf hamster | - \ endif " Haskell -au BufNewFile,BufRead *.hs,*.hs-boot setf haskell +au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot setf haskell au BufNewFile,BufRead *.lhs setf lhaskell au BufNewFile,BufRead *.chs setf chaskell au BufNewFile,BufRead cabal.project setf cabalproject |