chore: stylua column width 120 -> 140, tidy

This commit is contained in:
Alexander Courtis
2023-10-07 15:17:54 +11:00
parent d4871d726b
commit 8a0524d6bd
8 changed files with 18 additions and 50 deletions

View File

@@ -95,11 +95,7 @@ function M.update()
for line, node in pairs(nodes_by_line) do
local nodepath = utils.canonical_path(node.absolute_path)
log.line("diagnostics", " %d checking nodepath '%s'", line, nodepath)
if
M.show_on_dirs
and vim.startswith(bufpath:gsub("\\", "/"), nodepath:gsub("\\", "/") .. "/")
and (not node.open or M.show_on_open_dirs)
then
if M.show_on_dirs and vim.startswith(bufpath:gsub("\\", "/"), nodepath:gsub("\\", "/") .. "/") and (not node.open or M.show_on_open_dirs) then
log.line("diagnostics", " matched fold node '%s'", node.absolute_path)
node.diag_status = severity
elseif nodepath == bufpath then