Dont highlight tab/space errors in the BTHelp buffers (#3189)

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
This commit is contained in:
Yevhen Babiichuk (DustDFG) 2024-03-19 17:22:28 +02:00 committed by GitHub
parent c64add289b
commit b518bda50c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -379,6 +379,8 @@ func (h *BufPane) openHelp(page string) error {
} else {
helpBuffer := buffer.NewBufferFromString(string(data), page+".md", buffer.BTHelp)
helpBuffer.SetName("Help " + page)
helpBuffer.SetOptionNative("hltaberrors", false)
helpBuffer.SetOptionNative("hltrailingws", false)
if h.Buf.Type == buffer.BTHelp {
h.OpenBuffer(helpBuffer)