From 5b1136a99c7fc6db4cfe6865b72c069a4697c1a5 Mon Sep 17 00:00:00 2001 From: Donatas Date: Mon, 20 Jan 2025 16:40:26 +0200 Subject: feat(inccommand): preview 'nomodifiable' buffers #32034 Problem: Incremental preview is not allowed on 'nomodifiable' buffers. Solution: - Allow preview on 'nomodifiable' buffers. - Restore the 'modifiable' option in case the preview function changes it. --- runtime/doc/news.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 58902abb87..58dab586d9 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -319,6 +319,8 @@ PLUGINS • EditorConfig • spelling_language property is now supported. +• 'inccommand' incremental preview can run on 'nomodifiable' buffers and + restores their 'modifiable' state STARTUP -- cgit