Skip to content
This repository was 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 82 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 added 30 commits April 26, 2016 11:58
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.
craigscott-crascit and others added 13 commits December 31, 2023 17:17
indentexpr amd indentkeys must be reset to the global values when
closing.
Fix syntax highlighting for `cmakeBracketArgument`, `cmakeComment` and
`cmakeBracketComment`.
As previously written they were hard to understand, referring to
seemingly into the void.
Actually reworking the perl code would be an alternative, but this
commit at least checks in a linter config corresponding to the coding
style used.
Actually reworking the sh code would be an alternative, but this commit
at least checks in a linter config corresponding to the coding style
used.

No yaml files, apart from the linter config itself, are checked in to
this repo, but running the tests generates one with overly long lines.
Remove unnecessary branching per platform. In many environments, not
only macOS, sed expects a suffix to create backup before in-place
editing. An empty suffix will not fly on e.g. OpenBSD. These files are
not larger than that they can be kept in a shell variable.
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.

9 participants