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>
This commit is contained in:
PerilousBooklet
2024-04-15 08:49:40 +08:00
committed by takase1121
co-authored by Takase
parent e053ea3ad2
commit 48712a242d
+6 -6
View File
@@ -572,22 +572,22 @@ local config = require "core.config"
-- --
-- Here some examples: -- 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 -- directories. When using such a pattern a final '/' will be added to the name
-- of any directory entry before checking if it matches. -- of any directory entry before checking if it matches.
-- --
-- "^%.git/" matches any directory named ".git" anywhere in the project. -- "^%.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 -- 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 -- 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 -- 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. -- or directory's path to indicate the project's root.
-- --
-- "^/node_modules/" will match a directory named "node_modules" at 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" -- "^/build.*/" will match any top level directory whose name begins with "build".
-- "^/subprojects/.+/" match any directory inside a top-level folder named "subprojects". -- "^/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. -- You may activate some plugins on a per-project basis to override the user's settings.
-- config.plugins.trimwitespace = true -- config.plugins.trimwitespace = true