Commit Graph

4 Commits (dba8662a27cc04fca531db2b97f80ed6dc99164e)

Author SHA1 Message Date
Alex Thiessen 4ad790aa47
editorconfig: Add `.git*` section
Configuration files of `git` are managed by the tool and thus are
tab-indented. If a developer happens to edit such a file manually, the
indentation would become inconsistent.

Add an explicit section for such files and set the indentation to tabs.
2020-04-20 21:07:35 +02:00
Alex Thiessen 55cf918918
editorconfig: Respect user rules
Editorconfig provides the concept of cascading rules, refer to
https://editorconfig.org/#file-location. For instance, I use a rule
which limits line length in git commit messages which enables `vim` to
re-flow the text by a simple command. Setting `root=true` in LT's own
`.editorconfig` file prevents any such user-defined rules from being
propagated.

Remove `root=true` to enable user-defined rules.
2019-02-02 10:28:24 +01:00
Konstantin Gredeskoul c0a657270c Add bash-it search functionality
- "bash-it search term1 [term2]...."

 - we are using existing 'bash-it show plugins|aliases|completions'
   commands output, to search (with grep) for lines that match the
   search terms, and then output the matches.

 - wrote a simple unit test that for whatever reason fails on Travis,
   so wrapped it in 'if "Darwin"'...
2016-03-23 23:13:51 -07:00
Nils Winkler 881a1535fc Added editorconfig file
See http://editorconfig.org/ for more info...

If you're using an editor that supports _editorconfig_, the editor's
settings for indentation, line endings, etc. should automatically adjust
when editing files.
2016-01-08 08:37:30 +01:00