Mercurial > vim
view runtime/ftplugin/jproperties.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 | d7d7bac1a163 |
children | 8dde7ced3344 |
line wrap: on
line source
" Vim filetype plugin " Language: Java properties file " Maintainer: David Bürgin <676c7473@gmail.com> " Last Change: 2013-11-19 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t setlocal comments=:#,:! setlocal commentstring=#\ %s let b:undo_ftplugin = "setl cms< com< fo<"