Indented new line

This commit is contained in:
Krzosa Karol
2024-08-04 08:28:42 +02:00
parent e761761108
commit 2b5f441e92
6 changed files with 75 additions and 18 deletions

View File

@@ -172,7 +172,12 @@ function GenericTextFileRule(_s)
end
-- other_random_filename
return GetCurrentBufferDir()..'/'..s
buffer_dir = GetCurrentBufferDir()
if buffer_dir:len() == 0 then
return s
else
return buffer_dir..'/'..s
end
end
line, col, _s = ExtractLineAndColumn(_s)