From e9e2d83dc54bf928f5e39cb5aa217b4ac022f30f Mon Sep 17 00:00:00 2001 From: PerilousBooklet Date: Thu, 28 Mar 2024 19:33:55 +0100 Subject: [PATCH] Fixed some typos in core.init (#1755) * Fixed some typos. * Update data/core/init.lua Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com> * Update data/core/init.lua Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com> --------- Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com> --- data/core/init.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/core/init.lua b/data/core/init.lua index 76c88846..884cfef8 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -572,22 +572,22 @@ local config = require "core.config" -- -- Here some examples: -- --- "^%." match any file of directory whose basename begins with a dot. +-- "^%." matches any file of directory whose basename begins with a dot. -- --- When there is an '/' or a '/$' at the end the pattern it will only match +-- When there is an '/' or a '/$' at the end, the pattern will only match -- directories. When using such a pattern a final '/' will be added to the name -- of any directory entry before checking if it matches. -- -- "^%.git/" matches any directory named ".git" anywhere in the project. -- --- If a "/" appears anywhere in the pattern except if it appears at the end or --- is immediately followed by a '$' then the pattern will be applied to the full +-- If a "/" appears anywhere in the pattern (except when it appears at the end or +-- is immediately followed by a '$'), then the pattern will be applied to the full -- path of the file or directory. An initial "/" will be prepended to the file's -- or directory's path to indicate the project's root. -- -- "^/node_modules/" will match a directory named "node_modules" at the project's root. --- "^/build.*/" match any top level directory whose name begins with "build" --- "^/subprojects/.+/" match any directory inside a top-level folder named "subprojects". +-- "^/build.*/" will match any top level directory whose name begins with "build". +-- "^/subprojects/.+/" will match any directory inside a top-level folder named "subprojects". -- You may activate some plugins on a per-project basis to override the user's settings. -- config.plugins.trimwitespace = true