Make treesit-query-validate create a read-only buffer
* lisp/treesit.el: use view-mode for generated validation buffer.
This commit is contained in:
committed by
Yuan Fu
parent
c0fe6c72ce
commit
4bccb7b211
@@ -1835,7 +1835,8 @@ to the offending pattern and highlight the pattern."
|
||||
(goto-char (point-min))
|
||||
(insert (format "%s: %d\n" message start))
|
||||
(forward-char start)))
|
||||
(pop-to-buffer buf))))))
|
||||
(pop-to-buffer buf)))))
|
||||
(view-mode))
|
||||
|
||||
;;; Explorer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user