robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqMerge pull request #40472 from zeertzjq/vim-1f337327945732ed7

master
603 B22 linesraw
1" Vim filetype plugin file
2" Language:	Haskell Cabal Build file
3" Maintainer:	Riley Bruins <ribru17@gmail.com>
4" Last Change:	2024 Jul 06
5" 2026 Jan 13 by Vim project: set compiler #19152
6" 2026 Jun 26 by Vim project: set expandtab #20623
7" 2026 Jun 27 by Vim Project: add recommended style guard
8
9if exists('b:did_ftplugin')
10  finish
11endif
12let b:did_ftplugin = 1
13
14if get(g:, 'cabal_recommended_style',
15      \ get(g:, 'filetype_recommended_style', 1))
16  setlocal expandtab
17endif
18setlocal comments=:-- commentstring=--\ %s
19
20compiler cabal
21
22let b:undo_ftplugin = 'compiler make | setlocal com< cms< et<'