Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Update to CMake 3.7.1 - but not only #5

Open
wants to merge 70 commits into
base: master
Choose a base branch
from

Conversation

pboettch
Copy link

Hi Nick,

Without telling you (via a pull-request) I continued your idea but changed it to extract even more data from the cmake-doc. I also added more highlighting options.

In addition to that I asked the cmake-folks to integrate these new cmake-syntax version and they did. A newer version is included in 3.7.x. (Just check for your name on /usr/share/cmake-3.7/editors/vim/syntax/cmake.vim if you already have cmake 3.7).

Please merge if you like.

pboettch and others added 13 commits April 2, 2019 13:02
use manually created JSON-file to get Doxygen-keywords and commands
cmakeArguments syntax region used "contains=ALLBUT" which, in
particular, made it contain "@spell", i.e. told the spell checked to
check everything inside the function arguments. This was undesirable, as
can be seen with the following simple example

	cmake_minimum_required(VERSION 3.1)

	# This should be spel-checked.
	set(this_should_not_be_spel_checked "some value")

in which "spell" misspelling was highlighted in both places and not just
in the first one.

Fix this by explicitly excluding @spell from cmakeArguments and, to
compensate for the text inside the string used in the arguments not
being spell-checked any more, add it to cmakeString explicitly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants