Add vim encoding and folding marker

This commit is contained in:
Abdelrahman Said 2025-08-09 14:35:28 +01:00
parent d452225d02
commit 75be2316e0
52 changed files with 104 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef ALIASES_H #ifndef ALIASES_H
#define ALIASES_H #define ALIASES_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MISC_UTILS_H #ifndef MISC_UTILS_H
#define MISC_UTILS_H #define MISC_UTILS_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef PLATFORM_H #ifndef PLATFORM_H
#define PLATFORM_H #define PLATFORM_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_COMMON_H #ifndef WAPP_COMMON_H
#define WAPP_COMMON_H #define WAPP_COMMON_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "mem_arena.h" #include "mem_arena.h"
#include "../utils/mem_utils.h" #include "../utils/mem_utils.h"
#include "../../../common/aliases/aliases.h" #include "../../../common/aliases/aliases.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_ARENA_H #ifndef MEM_ARENA_H
#define MEM_ARENA_H #define MEM_ARENA_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "mem_arena_allocator.h" #include "mem_arena_allocator.h"
#include "mem_arena.h" #include "mem_arena.h"
#include "../../../common/aliases/aliases.h" #include "../../../common/aliases/aliases.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_ARENA_ALLOCATOR_H #ifndef MEM_ARENA_ALLOCATOR_H
#define MEM_ARENA_ALLOCATOR_H #define MEM_ARENA_ALLOCATOR_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "mem_utils.h" #include "mem_utils.h"
#include "../../../common/aliases/aliases.h" #include "../../../common/aliases/aliases.h"
#include <stdbool.h> #include <stdbool.h>

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_UTILS_H #ifndef MEM_UTILS_H
#define MEM_UTILS_H #define MEM_UTILS_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "cpath.h" #include "cpath.h"
#include "../../../common/aliases/aliases.h" #include "../../../common/aliases/aliases.h"
#include "../../../common/misc/misc_utils.h" #include "../../../common/misc/misc_utils.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef CPATH_H #ifndef CPATH_H
#define CPATH_H #define CPATH_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "mem_os.h" #include "mem_os.h"
#include "mem_os_ops.h" #include "mem_os_ops.h"
#include "../../../common/aliases/aliases.h" #include "../../../common/aliases/aliases.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_OS_H #ifndef MEM_OS_H
#define MEM_OS_H #define MEM_OS_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_OS_OPS_H #ifndef MEM_OS_OPS_H
#define MEM_OS_OPS_H #define MEM_OS_OPS_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "../../../../common/aliases/aliases.h" #include "../../../../common/aliases/aliases.h"
#include "../../../../common/platform/platform.h" #include "../../../../common/platform/platform.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_OS_POSIX_H #ifndef MEM_OS_POSIX_H
#define MEM_OS_POSIX_H #define MEM_OS_POSIX_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "../../../../common/aliases/aliases.h" #include "../../../../common/aliases/aliases.h"
#include "../../../../common/platform/platform.h" #include "../../../../common/platform/platform.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_OS_WIN_H #ifndef MEM_OS_WIN_H
#define MEM_OS_WIN_H #define MEM_OS_WIN_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "commander.h" #include "commander.h"
#include "commander_output.h" #include "commander_output.h"
#include "../utils/shell_utils.h" #include "../utils/shell_utils.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef COMMANDER_H #ifndef COMMANDER_H
#define COMMANDER_H #define COMMANDER_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef COMMANDER_OUTPUT_H #ifndef COMMANDER_OUTPUT_H
#define COMMANDER_OUTPUT_H #define COMMANDER_OUTPUT_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "../../../../../common/aliases/aliases.h" #include "../../../../../common/aliases/aliases.h"
#include "../../../../../common/platform/platform.h" #include "../../../../../common/platform/platform.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "../../../../../common/aliases/aliases.h" #include "../../../../../common/aliases/aliases.h"
#include "../../../../../common/platform/platform.h" #include "../../../../../common/platform/platform.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "../../../../../common/aliases/aliases.h" #include "../../../../../common/aliases/aliases.h"
#include "../../../../../common/platform/platform.h" #include "../../../../../common/platform/platform.h"
#include "../../../../../primitives/strings/str8/str8.h" #include "../../../../../primitives/strings/str8/str8.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "termcolour.h" #include "termcolour.h"
#include "terminal_colours.h" #include "terminal_colours.h"
#include "../../../../primitives/strings/str8/str8.h" #include "../../../../primitives/strings/str8/str8.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef TERM_COLOUR_H #ifndef TERM_COLOUR_H
#define TERM_COLOUR_H #define TERM_COLOUR_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef TERMINAL_COLOURS_H #ifndef TERMINAL_COLOURS_H
#define TERMINAL_COLOURS_H #define TERMINAL_COLOURS_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "../../../../../common/aliases/aliases.h" #include "../../../../../common/aliases/aliases.h"
#include "../../../../../common/platform/platform.h" #include "../../../../../common/platform/platform.h"
#include "../../../../../primitives/strings/str8/str8.h" #include "../../../../../primitives/strings/str8/str8.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef SHELL_UTILS_H #ifndef SHELL_UTILS_H
#define SHELL_UTILS_H #define SHELL_UTILS_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_CORE_C #ifndef WAPP_CORE_C
#define WAPP_CORE_C #define WAPP_CORE_C

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_CORE_H #ifndef WAPP_CORE_H
#define WAPP_CORE_H #define WAPP_CORE_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "mem_allocator.h" #include "mem_allocator.h"
#include "../../common/aliases/aliases.h" #include "../../common/aliases/aliases.h"
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef MEM_ALLOCATOR_H #ifndef MEM_ALLOCATOR_H
#define MEM_ALLOCATOR_H #define MEM_ALLOCATOR_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "str8.h" #include "str8.h"
#include "../../../common/aliases/aliases.h" #include "../../../common/aliases/aliases.h"
#include "../../mem_allocator/mem_allocator.h" #include "../../mem_allocator/mem_allocator.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef STR8_H #ifndef STR8_H
#define STR8_H #define STR8_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_PRIMITIVES_C #ifndef WAPP_PRIMITIVES_C
#define WAPP_PRIMITIVES_C #define WAPP_PRIMITIVES_C

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_PRIMITIVES_H #ifndef WAPP_PRIMITIVES_H
#define WAPP_PRIMITIVES_H #define WAPP_PRIMITIVES_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_PRNG_C #ifndef WAPP_PRNG_C
#define WAPP_PRNG_C #define WAPP_PRNG_C

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_PRNG_H #ifndef WAPP_PRNG_H
#define WAPP_PRNG_H #define WAPP_PRNG_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "xorshift.h" #include "xorshift.h"
#include "../../common/aliases/aliases.h" #include "../../common/aliases/aliases.h"
#include "../../common/platform/platform.h" #include "../../common/platform/platform.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef XORSHIFT_H #ifndef XORSHIFT_H
#define XORSHIFT_H #define XORSHIFT_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "tester.h" #include "tester.h"
#include "../../common/aliases/aliases.h" #include "../../common/aliases/aliases.h"
#include "../../core/os/shell/termcolour/termcolour.h" #include "../../core/os/shell/termcolour/termcolour.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef TESTER_H #ifndef TESTER_H
#define TESTER_H #define TESTER_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_TESTING_C #ifndef WAPP_TESTING_C
#define WAPP_TESTING_C #define WAPP_TESTING_C

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_TESTING_H #ifndef WAPP_TESTING_H
#define WAPP_TESTING_H #define WAPP_TESTING_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#include "uuid.h" #include "uuid.h"
#include "../common/aliases/aliases.h" #include "../common/aliases/aliases.h"
#include "../primitives/strings/str8/str8.h" #include "../primitives/strings/str8/str8.h"

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef UUID_H #ifndef UUID_H
#define UUID_H #define UUID_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_UUID_C #ifndef WAPP_UUID_C
#define WAPP_UUID_C #define WAPP_UUID_C

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_UUID_H #ifndef WAPP_UUID_H
#define WAPP_UUID_H #define WAPP_UUID_H

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_C #ifndef WAPP_C
#define WAPP_C #define WAPP_C

View File

@ -1,3 +1,5 @@
// vim:fileencoding=utf-8:foldmethod=marker
#ifndef WAPP_H #ifndef WAPP_H
#define WAPP_H #define WAPP_H