feat(neovim): add haskell to scripts.vim

This commit is contained in:
Felix Schröter 2022-03-30 00:11:29 +02:00
parent 5bc58270bb
commit 55dc61abed
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -14,6 +14,8 @@ if getline(1) =~ '^#!.*nix-shell'
set ft=make set ft=make
elseif s:command =~ '^node\(js\)\=\>\|^js\>' elseif s:command =~ '^node\(js\)\=\>\|^js\>'
set ft=javascript set ft=javascript
elseif s:command =~ '^runhaskell'
set ft=haskell
elseif s:command =~ '^ghci' elseif s:command =~ '^ghci'
set ft=haskell set ft=haskell
elseif s:command =~ 'python' elseif s:command =~ 'python'