vim-patch:91023ad: runtime(cabal): Update compiler, ftplugin, syntax, add indent script

closes: vim/vim#20623

91023adc67

Co-authored-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
This commit is contained in:
zeertzjq
2026-06-27 07:02:23 +08:00
parent db55c537cb
commit b7c8dcc75b
4 changed files with 109 additions and 7 deletions

View File

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