about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-05 10:42:16 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-05 10:42:16 -0700
commited0e64a981525427d1dc64dbbcf6a3b87387f90e (patch)
tree275c50e66f5031b4b354638d2be496373884ad3c
parentbccaa72227a5d12932b1d34ae045ffc5689a76e8 (diff)
downloadmu-ed0e64a981525427d1dc64dbbcf6a3b87387f90e.tar.gz
4662
-rw-r--r--subx/050write_stderr.subx2
-rw-r--r--subx/051test.subx2
-rw-r--r--subx/052kernel_string_equal.subx2
-rw-r--r--subx/053new_segment.subx2
-rw-r--r--subx/054string_equal.subx2
-rw-r--r--subx/apps/crenshaw2-1.subx2
-rw-r--r--subx/apps/factorial.subx2
-rw-r--r--subx/examples/ex1.subx2
-rw-r--r--subx/examples/ex10.subx2
-rw-r--r--subx/examples/ex11.subx2
-rw-r--r--subx/examples/ex12.subx2
-rw-r--r--subx/examples/ex2.subx2
-rw-r--r--subx/examples/ex3.subx2
-rw-r--r--subx/examples/ex4.subx2
-rw-r--r--subx/examples/ex5.subx2
-rw-r--r--subx/examples/ex6.subx2
-rw-r--r--subx/examples/ex7.subx2
-rw-r--r--subx/examples/ex8.subx2
-rw-r--r--subx/examples/ex9.subx2
19 files changed, 23 insertions, 15 deletions
diff --git a/subx/050write_stderr.subx b/subx/050write_stderr.subx
index eae9129c..33234eb4 100644
--- a/subx/050write_stderr.subx
+++ b/subx/050write_stderr.subx
@@ -35,4 +35,4 @@ write_stderr:  # s : (address array byte) -> <void>
   5d/pop-to-EBP
   c3/return
 
-# vim:ft=subx:nowrap:tw&
+# vim:nowrap:textwidth=0
diff --git a/subx/051test.subx b/subx/051test.subx
index 2903b6c7..0ec4c451 100644
--- a/subx/051test.subx
+++ b/subx/051test.subx
@@ -62,4 +62,4 @@ Newline:
   # data
   0a/newline
 
-# vim:ft=subx:nowrap:tw&
+# vim:nowrap:textwidth=0
diff --git a/subx/052kernel_string_equal.subx b/subx/052kernel_string_equal.subx
index 6c15d7af..e07d2157 100644
--- a/subx/052kernel_string_equal.subx
+++ b/subx/052kernel_string_equal.subx
@@ -258,4 +258,4 @@ Null_kernel_string:
 Abc_kernel_string:
   41/A 62/b 63/c 00/null
 
-# vim:ft=subx:nowrap:tw&
+# vim:nowrap:textwidth=0
diff --git a/subx/053new_segment.subx b/subx/053new_segment.subx
index cd1f865c..8dce1684 100644
--- a/subx/053new_segment.subx
+++ b/subx/053new_segment.subx
@@ -59,4 +59,4 @@ mmap_new_segment:  # type mmap_arg_struct
   # offset
   00 00 00 00  # 0 since MAP_ANONYMOUS is specified
 
-# vim:ft=subx:nowrap:tw&
+# vim:nowrap:textwidth=0
diff --git a/subx/054string_equal.subx b/subx/054string_equal.subx
index 516f0a87..0548fee3 100644
--- a/subx/054string_equal.subx
+++ b/subx/054string_equal.subx
@@ -166,3 +166,5 @@ test_compare_inequal_strings_equal_lengths:
     # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0xc/imm32         # add to ESP
   c3/return
+
+# vim:nowrap:textwidth=0
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index 7f240819..1f64964d 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -112,4 +112,4 @@ write_stdout:  # s : (address array byte) -> <void>
   5d/pop-to-EBP
   c3/return
 
-# vim:ft=subx:nowrap:so=0
+# vim:nowrap:textwidth=0
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index f93351e7..0eeb90a3 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -104,4 +104,4 @@ test_factorial:
   # end
   c3/return
 
-# vim:ft=subx:nowrap:so=0
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex1.subx b/subx/examples/ex1.subx
index 579ac9f4..996ef955 100644
--- a/subx/examples/ex1.subx
+++ b/subx/examples/ex1.subx
@@ -17,4 +17,4 @@
   b8/copy                         .               .             .           .             .           .           .               1/imm32           # copy to EAX
   cd/syscall  0x80/imm8
 
-# vim:ft=subx
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex10.subx b/subx/examples/ex10.subx
index 78577a76..f2eadc5d 100644
--- a/subx/examples/ex10.subx
+++ b/subx/examples/ex10.subx
@@ -67,3 +67,5 @@ $argv_break:
 $argv_fail:
   b8/copy                         .               .             .           .             .           .           .               0/imm32           # copy to EAX
   c3/return
+
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx
index c53f8bd3..defab46b 100644
--- a/subx/examples/ex11.subx
+++ b/subx/examples/ex11.subx
@@ -346,4 +346,4 @@ Null_kernel_string:
 Abc_kernel_string:
   41/A 62/b 63/c 00/null
 
-# vim:ft=subx:nowrap:so=0
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex12.subx b/subx/examples/ex12.subx
index 8e0c95c3..d7c2e868 100644
--- a/subx/examples/ex12.subx
+++ b/subx/examples/ex12.subx
@@ -40,4 +40,4 @@ mmap_new_segment:  # type mmap_arg_struct
   # offset
   00 00 00 00  # 0 since MAP_ANONYMOUS is specified
 
-# vim:ft=subx:nowrap:tw&
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex2.subx b/subx/examples/ex2.subx
index 2a055bcc..800674f1 100644
--- a/subx/examples/ex2.subx
+++ b/subx/examples/ex2.subx
@@ -17,4 +17,4 @@
   b8/copy                         .               .             .           .             .           .           .               1/imm32           # copy to EAX
   cd/syscall  0x80/imm8
 
-# vim:ft=subx
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex3.subx b/subx/examples/ex3.subx
index caa4d9cf..bbb6f1a7 100644
--- a/subx/examples/ex3.subx
+++ b/subx/examples/ex3.subx
@@ -32,4 +32,4 @@ $exit:
   b8/copy                         .               .             .           .             .           .           .               1/imm32           # copy to EAX
   cd/syscall  0x80/imm8
 
-# vim:ft=subx:nowrap
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex4.subx b/subx/examples/ex4.subx
index 2d5f05b2..946a4810 100644
--- a/subx/examples/ex4.subx
+++ b/subx/examples/ex4.subx
@@ -39,4 +39,4 @@
 x:
   00 00 00 00  # space for read() to write to
 
-# vim:ft=subx:nowrap
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex5.subx b/subx/examples/ex5.subx
index af9f1b3a..d773b366 100644
--- a/subx/examples/ex5.subx
+++ b/subx/examples/ex5.subx
@@ -39,4 +39,4 @@
   b8/copy                         .               .             .           .             .           .           .               1/imm32/exit      # copy to EAX
   cd/syscall  0x80/imm8
 
-# vim:ft=subx:nowrap
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex6.subx b/subx/examples/ex6.subx
index 9172cab3..256aa47c 100644
--- a/subx/examples/ex6.subx
+++ b/subx/examples/ex6.subx
@@ -32,4 +32,4 @@ x:  # string to print
   48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a       00
 # H  e  l  l  o  ,  ␣  w  o  r  l  d  !  newline  null
 
-# vim:ft=subx:nowrap
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex7.subx b/subx/examples/ex7.subx
index c41e5ad2..d5956ec9 100644
--- a/subx/examples/ex7.subx
+++ b/subx/examples/ex7.subx
@@ -100,4 +100,4 @@ b:
 filename:
   2e 66 6f 6f 00 00 00 00
 
-# vim:ft=subx:nowrap:tw&
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex8.subx b/subx/examples/ex8.subx
index 1406cded..ccc6dcb9 100644
--- a/subx/examples/ex8.subx
+++ b/subx/examples/ex8.subx
@@ -53,3 +53,5 @@ $ascii_length_loop:
 $ascii_length_ret:
   # return (result in EAX)
   c3/return
+
+# vim:nowrap:textwidth=0
diff --git a/subx/examples/ex9.subx b/subx/examples/ex9.subx
index ed723e4a..c5711ef1 100644
--- a/subx/examples/ex9.subx
+++ b/subx/examples/ex9.subx
@@ -46,3 +46,5 @@ ascii_difference:  # (s1, s2) : null-terminated ascii strings
   # a-b
   29/subtract                     3/mod/direct    0/rm32/EAX    .           .             .           1/r32/ECX   .               .                 # subtract ECX from EAX
   c3/return
+
+# vim:nowrap:textwidth=0