misc: add editorconfig

This commit is contained in:
Zephyr Lykos 2024-04-01 02:50:16 +08:00
parent 5dc52583b7
commit 79b1f6cc60
No known key found for this signature in database
GPG Key ID: D3E9D31E2F77F04D
4 changed files with 21 additions and 3 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
root = true
[*]
charset = utf-8
insert_final_newline = true
end_of_line = lf
indent_style = space
indent_size = 4
max_line_length = 120
[*.{yaml,yml}]
indent_style = space
indent_size = 2
[*.md]
indent_style = space
indent_size = 2
[Makefile*]
indent_style = tab
indent_size = 8

1
even.c
View File

@ -455,4 +455,3 @@ NTSTATUS __stdcall DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRIN
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
// vim: sw=4 et

View File

@ -47,4 +47,3 @@ struct even_ioctl_out_data
}; };
#endif /* _EVEN_IOCTL_H_ */ #endif /* _EVEN_IOCTL_H_ */
// vim: sw=4 et

View File

@ -32,4 +32,3 @@ typedef struct even_peb
} even_peb_t; } even_peb_t;
#endif /* _EVEN_PEB_H_ */ #endif /* _EVEN_PEB_H_ */
// vim: sw=4 et