runtime(compiler): add compiler plugin for cabal

closes: #19152

Signed-off-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Mateo Gjika
2026-01-13 21:37:46 +00:00
committed by Christian Brabandt
parent dc47097423
commit 17d60cee55
3 changed files with 46 additions and 1 deletions

View File

@@ -2,12 +2,17 @@
" 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
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
compiler cabal
let b:undo_ftplugin = 'compiler make'
setl comments=:-- commentstring=--\ %s
let b:undo_ftplugin = 'setl com< cms<'
let b:undo_ftplugin .= '| setl com< cms<'