@@ -84,13 +84,12 @@ local previousCompilerErrorNotification
84
84
local previousCompilerErrorNotificationTime = 0
85
85
local accumulatedCompilerErrorCount = 0
86
86
local function append (buf , lines )
87
- vim .bo [buf ].modifiable = true
88
- api .nvim_buf_set_lines (M .buf , - 1 , - 1 , true , lines )
89
- vim .bo [buf ].modifiable = false
90
87
local errorCount = 0
91
88
local validStr = {}
89
+ local newLines = {}
92
90
for _ , line in ipairs (lines ) do
93
91
if string .starts (line , " ══╡" ) then
92
+ table.insert (newLines , " " )
94
93
tmpStopNotifyingDevLogOutput = true
95
94
ui .notify (" Encountered Layout issues" , ui .WARN , {
96
95
timeout = 1000 ,
@@ -107,7 +106,11 @@ local function append(buf, lines)
107
106
errorCount = errorCount + 1
108
107
end
109
108
end
109
+ table.insert (newLines , line )
110
110
end
111
+ vim .bo [buf ].modifiable = true
112
+ api .nvim_buf_set_lines (M .buf , - 1 , - 1 , true , newLines )
113
+ vim .bo [buf ].modifiable = false
111
114
112
115
local str = table.concat (validStr , " \n " )
113
116
if str ~= " " then
0 commit comments