Mercurial > vim
view src/testdir/test48.ok @ 10322:5adc318767be v8.0.0056
commit https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 4 15:23:45 2016 +0100
patch 8.0.0056
Problem: When setting 'filetype' there is no check for a valid name.
Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 04 Nov 2016 15:30:07 +0100 |
parents | 9dc52b404c1b |
children |
line wrap: on
line source
, foo keyword keyword all your base are belong to vim 1 2 3 4 5 7 'i' <-- should be 3 ' ' 'C' <-- should be 3 ' ' 'a' <-- should be 4 ' ' 'A'<-- should be 0 ' ' 'D' <-- 'D' should be intact this is a test this is a test this is a test "r" x<-- should be 'x' "r" x <-- should be ' x ' [This line should contain only the text between the brackets.] v i m <-- should show the name of a noted text editor 6 . 0 <-- and its version number a a a