Improve load
This commit is contained in:
@@ -302,7 +302,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)
|
||||
|
||||
Reference in New Issue
Block a user