From d0ab70d57d979d439a1b7068c3defb653c342405 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 16 Dec 2023 10:27:39 +1100 Subject: Help: Fix typo in dependency provider method keyword The cmake.vim file is generated by scanning for keyword-like strings in the docs. Update the corresponding wrong entry there too directly for now, which will fix the wrong entry until the next full regeneration of the file. Fixes: #25503 --- Auxiliary/vim/syntax/cmake.vim | 1 - Help/command/cmake_language.rst | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim index c95503b..d2cbdc9 100644 --- a/Auxiliary/vim/syntax/cmake.vim +++ b/Auxiliary/vim/syntax/cmake.vim @@ -2764,7 +2764,6 @@ syn keyword cmakeKWcmake_language contained \ DIRECTORY \ EVAL \ FALSE - \ FETCHCONTENT_MAKEAVAILABE_SERIAL \ FETCHCONTENT_MAKEAVAILABLE_SERIAL \ FETCHCONTENT_SOURCE_DIR_ \ FETCHCONTENT_TRY_FIND_PACKAGE_MODE diff --git a/Help/command/cmake_language.rst b/Help/command/cmake_language.rst index 3af6b9c..4b64eb6 100644 --- a/Help/command/cmake_language.rst +++ b/Help/command/cmake_language.rst @@ -317,7 +317,7 @@ be one of the ```` that was specified when setting the provider. implementation as part of its processing, it can do so by including the ``BYPASS_PROVIDER`` keyword as one of the arguments. -``FETCHCONTENT_MAKEAVAILABE_SERIAL`` +``FETCHCONTENT_MAKEAVAILABLE_SERIAL`` The ```` will be everything passed to the :command:`FetchContent_Declare` call that corresponds to the requested dependency, with the following exceptions: -- cgit v0.12