So I use Vim with Haskell. I don’t get any syntax highlighting. I found this online:
https://github.com/neovimhaskell/haskell-vim?tab=readme-ov-file
I did this:
cd ~/.vim/bundle
git clone https://github.com/neovimhaskell/haskell-vim.git
and also added this to my .vimrc
syntax on
filetype plugin indent on
But I get all these errors when I open up a Haskell file with vim:
Error detected while processing /Users/username/.vim/syntax/haskell.vim:
line 7:
E477: No ! allowed: <!DOCTYPE html>
line 8:
E488: Trailing characters: <html
line 9:
E197: Cannot set language to "="
line 11:
E492: Not an editor command: data-color-mode="auto" data-light-theme="light" d
ata-dark-theme="dark"
line 12:
E492: Not an editor command: data-a11y-animated-images="system" data-a11y-link
-underlines="true"
line 17:
E488: Trailing characters: <head>
line 18:
E488: Trailing characters: <meta charset=
line 19:
E488: Trailing characters: <link rel=
line 20:
E488: Trailing characters: <link rel=
How do I fix this?