We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2fbb7c commit 9d83ca5Copy full SHA for 9d83ca5
1 file changed
runtime/tools/preproc_indent.vim
@@ -16,7 +16,7 @@ vim9script
16
# deleted.
17
#
18
# Author: Hirohito Higashi (@h-east)
19
-# Last Update: 2026 Jan 12
+# Last Update: 2026 Apr 02
20
21
def Get_C_source_files(): list<string>
22
var list_of_c_files: list<string> = []
@@ -30,7 +30,7 @@ def Get_C_source_files(): list<string>
30
enddef
31
32
def FixPreprocessorIndent(fname: string)
33
- execute 'edit! ' .. fname
+ execute 'noswapfile edit! ' .. fname
34
35
var nest: number = 0
36
var indent_offset: number = 0 # -1 if whole-file guard detected
0 commit comments