Skip to content

Commit ca2c70f

Browse files
committed
docs(#2934): tidy formatting
1 parent bf3bda8 commit ca2c70f

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ help-update:
4444
#
4545
help-check: help-update
4646
git diff --ignore-blank-lines --exit-code doc/nvim-tree-lua.txt
47-
@scripts/lintdoc.sh
47+
scripts/lintdoc.sh
4848

4949

5050
.PHONY: all lint style check luacheck style-check style-doc luals style-fix help-update help-check

lua/nvim-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ local DEFAULT_OPTS = { -- default-config-start
534534
watcher = false,
535535
},
536536
},
537-
}-- default-config-end
537+
} -- default-config-end
538538

539539
local function merge_options(conf)
540540
return vim.tbl_deep_extend("force", DEFAULT_OPTS, conf or {})

lua/nvim-tree/_meta/config/experimental.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ error("Cannot require a meta file")
1414
--Buffers opened by nvim-tree will use with relative paths instead of absolute.
1515
--(default: false)
1616
--@field relative_path? boolean
17-

lua/nvim-tree/_meta/config/filesystem_watchers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ error("Cannot require a meta file")
77
---
88
---With this feature, the tree will be partially updated on specific directory changes, resulting in better performance.
99
---
10-
---Watchers may be disabled for absolute directory paths via {ignore_dirs}.
10+
---Watchers may be disabled for absolute directory paths via {ignore_dirs}.
1111
--- - A list of [vim.regex] to match a path, backslash escaped e.g. `"my-proj/\\.build$"` OR
1212
--- - A function that is passed an absolute path and returns `true` to disable
1313
---This may be useful when a path is not in `.gitignore` or git integration is disabled.

lua/nvim-tree/_meta/config/filters.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ error("Cannot require a meta file")
5757
---@field custom? string[]|(fun(absolute_path: string): boolean)
5858
---
5959
---(default: `{}`)
60-
---@field exclude? string[]
60+
---@field exclude? string[]

scripts/lintdoc.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ unset VIMRUNTIME
1919

2020
# Use a directory outside of nvim_tree source. Adding lua files inside will (rightly) upset luals.
2121
DIR_NVT="${PWD}"
22-
DIR_WORK="/tmp/nvim-tree-lintdoc"
2322
DIR_NVIM_SRC_DEF="/tmp/src/neovim-stable"
2423

2524
if [ ! -f "${DIR_NVT}/scripts/lintdoc.sh" ]; then

0 commit comments

Comments
 (0)