about summary refs log tree commit diff
path: root/.envrc
blob: 197c0d595f9d753ddcb8c5d9c40702cde440c405 (plain)
1
2
3
#!/bin/bash

use flake
lass */ .highlight .vg { color: #EEDD82 } /* Name.Variable.Global */ .highlight .vi { color: #EEDD82 } /* Name.Variable.Instance */ .highlight .vm { color: #EEDD82 } /* Name.Variable.Magic */ .highlight .il { color: #F0F } /* Literal.Number.Integer.Long */
# a relatively bespoke formatting style for C in particular.
# might undergo changes if i find something i don't like.
---
Language: Cpp
BasedOnStyle: Mozilla
AlignEscapedNewlines: Left
AllowShortBlocksOnASingleLine: Always
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
BreakAfterReturnType: AllDefinitions
BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: NonAssignment
ColumnLimit: 100
ContinuationIndentWidth: 4
IndentCaseLabels: false
IndentWidth: 4
PenaltyIndentedWhitespace: 100
ForEachMacros:
  - FOR_EACH
  - FOR_EACH_ARRAY
  - STRING_ARRAY_FOR_EACH
...