diff options
author | Azat Bahawi <azat@bahawi.net> | 1970-01-01 03:00:00 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-09-20 11:51:54 +0300 |
commit | 38bab29776950ac2364ed64195b89887717c33de (patch) | |
tree | edaaf366a55dbe96d268019124536bc504c64e87 /cmake-format |
Diffstat (limited to '')
-rw-r--r-- | cmake-format/.cmake-format | 18 | ||||
-rwxr-xr-x | cmake-format/@install | 7 |
2 files changed, 25 insertions, 0 deletions
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 |