diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-12 16:18:43 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-14 15:09:02 +0200 |
commit | 3bd7246f5af4451ec775616d3570b6a57bcf7108 (patch) | |
tree | ef919e0fc37cd7b7b257513905cde2eafcc3cb68 /runtime | |
parent | adf967331f9b20900607fdac10476bd9099c21c4 (diff) | |
download | rneovim-3bd7246f5af4451ec775616d3570b6a57bcf7108.tar.gz rneovim-3bd7246f5af4451ec775616d3570b6a57bcf7108.tar.bz2 rneovim-3bd7246f5af4451ec775616d3570b6a57bcf7108.zip |
ci(clint): remove check for include order
Uncrustify and clang-format are already both excellent at ordering
includes; this isn't something we need to check for ourselves. Also
remove the section on include order in the dev-style documentation.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/dev_style.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/runtime/doc/dev_style.txt b/runtime/doc/dev_style.txt index 82f279e781..aad0842497 100644 --- a/runtime/doc/dev_style.txt +++ b/runtime/doc/dev_style.txt @@ -48,22 +48,6 @@ The format of the symbol name should be `NVIM_<DIRECTORY>_<FILE>_H`. < -Names and Order of Includes ~ - -Use standard order for readability and to avoid hidden dependencies: C -library, other libraries' `.h`, your project's `.h`. - - In foo.c order your includes as follows: - - 1. C system files. - 2. Other libraries' `.h` files. - 3. Your project's `.h` files. - - Exception: sometimes, system-specific code needs conditional includes. - Such code can put conditional includes after other includes. Of course, - keep your system-specific code small and localized. - - Constants ~ Do not use macros to define constants in headers. |