From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- cmake-format/.cmake-format | 18 ++++++++++++++++++ cmake-format/@install | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 cmake-format/.cmake-format create mode 100755 cmake-format/@install (limited to 'cmake-format') diff --git a/cmake-format/.cmake-format b/cmake-format/.cmake-format new file mode 100644 index 0000000..c3a5c9b --- /dev/null +++ b/cmake-format/.cmake-format @@ -0,0 +1,18 @@ +--- +format: + disable: false + line_width: 80 + tab_size: 4 + use_tabchars: false + fractional_tab_policy: use-space + separate_ctrl_name_with_space: false + separate_fn_name_with_space: false + dangle_parens: false + dangle_align: prefix + line_ending: unix + command_case: lower + keyword_case: upper + enable_sort: true + autosort: false +... +# vim: filetype=yaml diff --git a/cmake-format/@install b/cmake-format/@install new file mode 100755 index 0000000..d3b4820 --- /dev/null +++ b/cmake-format/@install @@ -0,0 +1,7 @@ +#!/bin/sh + +stow \ + --target="${HOME}" \ + --ignore="^@.*" \ + --verbose \ + cmake-format -- cgit 1.4.1