```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
15 lines
276 B
C
15 lines
276 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
#include "modules/editor/option.h"
|
|
|
|
typedef struct FFEditorResult {
|
|
const char* type;
|
|
FFstrbuf name;
|
|
FFstrbuf exe;
|
|
FFstrbuf path;
|
|
FFstrbuf version;
|
|
} FFEditorResult;
|
|
|
|
const char* ffDetectEditor(FFEditorResult* result);
|