diff options
author | Daniel Hahler <git@thequod.de> | 2016-07-14 00:42:55 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2016-07-14 00:42:55 +0200 |
commit | 329f922f144c7e37012bc89b619b87b1d0dd3a55 (patch) | |
tree | 1b61c9b4161f998bafd44d88bb8ff105c4c971b4 /.ci | |
parent | e63c6ca8f2483fc4882585db0168f66860799959 (diff) | |
download | rneovim-329f922f144c7e37012bc89b619b87b1d0dd3a55.tar.gz rneovim-329f922f144c7e37012bc89b619b87b1d0dd3a55.tar.bz2 rneovim-329f922f144c7e37012bc89b619b87b1d0dd3a55.zip |
fixup! genvimvim.lua: fix matching functions
Diffstat (limited to '.ci')
-rw-r--r-- | .ci/common/test.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.ci/common/test.sh b/.ci/common/test.sh index 225d88e072..02d0b3a645 100644 --- a/.ci/common/test.sh +++ b/.ci/common/test.sh @@ -83,8 +83,9 @@ install_nvim() { exit 1 } + local genvimsynf=syntax/vim/generated.vim # Check that all runtime files were installed - for file in doc/tags syntax/vim/generated.vim $( + for file in doc/tags $genvimsynf $( cd runtime ; git ls-files | grep -e '.vim$' -e '.ps$' -e '.dict$' -e '.py$' -e '.tutor$' ) ; do if ! test -e "${INSTALL_PREFIX}/share/nvim/runtime/$file" ; then @@ -93,6 +94,13 @@ install_nvim() { fi done + # Check that generated syntax file has function names, #5060. + local gpat='syn keyword vimFuncName .*eval' + if ! grep -q "$gpat" $genvimsynf ; then + echo "It appears that $genvimsynf does not contain $gpat." + exit 1 + fi + for file in $( cd runtime ; git ls-files | grep -e '.awk$' -e '.sh$' -e '.bat$' ) ; do |