Skip to content

Commit 125677e

Browse files
committed
Add vim modeline to lldb formatter
The file doesn't adhere to the python standard, but this will let vi do The Right Thing by default
1 parent 96c8f2b commit 125677e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/etc/lldb_rust_formatters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,3 +243,5 @@ def is_vec_slice(val):
243243

244244
type_name = extract_type_name(ty.GetName()).replace("&'static", "&").replace(" ", "")
245245
return type_name.startswith("&[") and type_name.endswith("]")
246+
247+
# vi: sw=2:ts=2

0 commit comments

Comments
 (0)