diff options
| author | Maria José Solano <majosolano99@gmail.com> | 2025-05-10 16:42:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-10 14:42:48 -0700 |
| commit | bee45fc0e7801396951cd156c82953cbadc256b9 (patch) | |
| tree | 7050ebad3cc09f0a85757fe13ad86b2dfa5e86db /runtime/lua/editorconfig.lua | |
| parent | 8605f5655bd8f52d1c4f259d39630b9140f07476 (diff) | |
| download | rneovim-bee45fc0e7801396951cd156c82953cbadc256b9.tar.gz rneovim-bee45fc0e7801396951cd156c82953cbadc256b9.tar.bz2 rneovim-bee45fc0e7801396951cd156c82953cbadc256b9.zip | |
refactor(docs): remove unnecessary `@private`/`@nodoc` annotations (#33951)
* refactor(docs): remove `@private` annotations from local functions
* refactor(docs): remove unnecessary `@nodoc` annotations
Diffstat (limited to 'runtime/lua/editorconfig.lua')
| -rw-r--r-- | runtime/lua/editorconfig.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/lua/editorconfig.lua b/runtime/lua/editorconfig.lua index 2093c4eb5c..a402c09fda 100644 --- a/runtime/lua/editorconfig.lua +++ b/runtime/lua/editorconfig.lua @@ -45,7 +45,6 @@ --- @type table<string,fun(bufnr: integer, val: string, opts?: table)> local properties = {} ---- @private --- Modified version of the builtin assert that does not include error position information --- --- @param v any Condition @@ -55,7 +54,6 @@ local function assert(v, message) return v or error(message, 0) end ---- @private --- Show a warning message --- @param msg string Message to show local function warn(msg, ...) @@ -211,7 +209,6 @@ function properties.spelling_language(bufnr, val) end end ---- @private --- Modified version of [glob2regpat()] that does not match path separators on `*`. --- --- This function replaces single instances of `*` with the regex pattern `[^/]*`. @@ -233,7 +230,6 @@ local function glob2regpat(glob) return (regpat:gsub(placeholder, '[^/]*')) end ---- @private --- Parse a single line in an EditorConfig file --- @param line string Line --- @return string? glob pattern if the line contains a pattern @@ -256,7 +252,6 @@ local function parse_line(line) end end ---- @private --- Parse options from an `.editorconfig` file --- @param filepath string File path of the file to apply EditorConfig settings to --- @param dir string Current directory |