annotate runtime/syntax/groff.vim @ 27084:6fc63c6a7ee7
v8.2.4071
patch 8.2.4071: Vim9: no detection of return in try/endtry
Commit: https://github.com/vim/vim/commit/53c296112edd8471eb63afbca03f96bad164c813
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 12 16:18:18 2022 +0000
patch 8.2.4071: Vim9: no detection of return in try/endtry
Problem: Vim9: no detection of return in try/endtry. (Dominique Pell?)
Solution: Check if any of the blocks inside try/endtry did not end in
return.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 12 Jan 2022 17:30:07 +0100 |
parents |
4ab4ef0c48b1 |
children |
|
rev |
line source |
7
|
1 " VIM syntax file
|
|
2 " Language: groff
|
24278
|
3 " Maintainer: John Marshall <jmarshall@hey.com>
|
|
4 " Previous Maintainer: Pedro Alejandro López-Valencia <palopezv@gmail.com>
|
7
|
5 " Last Change: 2003-05-08-12:41:13 GMT-5.
|
|
6
|
|
7 " This uses the nroff.vim syntax file.
|
|
8 let b:main_syntax = "nroff"
|
|
9 let b:nroff_is_groff = 1
|
|
10 runtime! syntax/nroff.vim
|