annotate runtime/syntax/groff.vim @ 16024:7fd3a9eaeedb
v8.1.1017
patch 8.1.1017: off-by-one error in filetype detection
commit https://github.com/vim/vim/commit/493fbe4abee660d30b4f2aef87b754b0a720213c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 17 17:16:12 2019 +0100
patch 8.1.1017: off-by-one error in filetype detection
Problem: Off-by-one error in filetype detection.
Solution: Also check the last line of the file.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 17 Mar 2019 17:30:14 +0100 |
parents |
3fc0f57ecb91 |
children |
5b7ea82bc18f |
rev |
line source |
7
|
1 " VIM syntax file
|
|
2 " Language: groff
|
|
3 " Maintainer: Alejandro López-Valencia <dradul@yahoo.com>
|
|
4 " URL: http://dradul.tripod.com/vim
|
|
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
|