Mercurial > vim
diff runtime/filetype.vim @ 27493:3af3dee7e5d9 v8.2.4274
patch 8.2.4274: Basic and form filetype detection is incomplete
Commit: https://github.com/vim/vim/commit/c570e9cf68c0fe30366e82c96be460047dd659b9
Author: Doug Kearns <dougkearns@gmail.com>
Date: Mon Jan 31 17:09:14 2022 +0000
patch 8.2.4274: Basic and form filetype detection is incomplete
Problem: Basic and form filetype detection is incomplete.
Solution: Add a separate function for .frm files. (Doug Kearns, closes https://github.com/vim/vim/issues/9675)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Jan 2022 18:15:03 +0100 |
parents | 4789f29c9595 |
children | 52bbe3590f50 |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2051,7 +2051,7 @@ au BufRead,BufNewFile *.hw,*.module,*.pk \ endif " Visual Basic (also uses *.bas) or FORM -au BufNewFile,BufRead *.frm call dist#ft#FTbas('form') +au BufNewFile,BufRead *.frm call dist#ft#FTfrm() " SaxBasic is close to Visual Basic au BufNewFile,BufRead *.sba setf vb