From 55dc61abed290344d1dcab5cf794d2acca509b78 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Wed, 30 Mar 2022 00:11:29 +0200 Subject: [PATCH] feat(neovim): add haskell to scripts.vim --- home/editors/neovim/scripts.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/editors/neovim/scripts.vim b/home/editors/neovim/scripts.vim index a65f6a6..49f2dc0 100644 --- a/home/editors/neovim/scripts.vim +++ b/home/editors/neovim/scripts.vim @@ -14,6 +14,8 @@ if getline(1) =~ '^#!.*nix-shell' set ft=make elseif s:command =~ '^node\(js\)\=\>\|^js\>' set ft=javascript + elseif s:command =~ '^runhaskell' + set ft=haskell elseif s:command =~ '^ghci' set ft=haskell elseif s:command =~ 'python'