]> git.lizzy.rs Git - rust.git/commitdiff
Add vim modeline to lldb formatter
authorRicho Healey <richo@psych0tik.net>
Fri, 21 Nov 2014 00:30:05 +0000 (16:30 -0800)
committerRicho Healey <richo@psych0tik.net>
Fri, 21 Nov 2014 00:30:05 +0000 (16:30 -0800)
The file doesn't adhere to the python standard, but this will let vi do
The Right Thing by default

src/etc/lldb_rust_formatters.py

index ca895414635b6ae302186430a78bfa85698cd34d..01a6f1c6328e43f27922b54c0d2c37236ebf4f2e 100644 (file)
@@ -243,3 +243,5 @@ def is_vec_slice(val):
 
   type_name = extract_type_name(ty.GetName()).replace("&'static", "&").replace(" ", "")
   return type_name.startswith("&[") and type_name.endswith("]")
+
+# vi: sw=2:ts=2