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