Mercurial > vim
view src/testdir/test_preview.vim @ 19607:d24e6844aabd v8.2.0360
patch 8.2.0360: yaml files are only recognized by the file extension
Commit: https://github.com/vim/vim/commit/8eab73132838e977092d7b46f70b4ecf6274fd6a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 6 22:25:56 2020 +0100
patch 8.2.0360: yaml files are only recognized by the file extension
Problem: Yaml files are only recognized by the file extension.
Solution: Check for a line starting with "%YAML". (Jason Franklin)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 Mar 2020 22:30:04 +0100 |
parents | 068337e86133 |
children | 2c4d9ca33769 |
line wrap: on
line source
" Tests for the preview window source check.vim CheckFeature quickfix func Test_Psearch() " this used to cause ml_get errors help let wincount = winnr('$') 0f ps. call assert_equal(wincount + 1, winnr('$')) pclose call assert_equal(wincount, winnr('$')) bwipe endfunc