Commit Graph

15 Commits (e38696a0acfdb6e4fbeb6963801c417d6ca7e9a7)

Author SHA1 Message Date
John D Pell 604f9b0baa Remove executable bit. 2022-02-24 12:47:22 -08:00
John D Pell d1d7cd4383 tests: add *.bats to `.editorconfig` 2022-01-27 11:30:35 -08:00
John D Pell 435151819f EditorConfig: set `indent_size = tab`
Despite `indent_size` being set to `tab` by default, it turns out that we set `indent_size` to `2` for `*` at the top of this file. So, for everywhere else, explicitly set `indent_size` to the default (`tab`). This should achieve the goal of my last patch to `.editorconfig`.
2021-09-17 10:44:53 -07:00
John D Pell 6ee4cb4597 EditorConfig: don't specify indent size
When using tabs, `indent_size` should be set to `tab`, which is the default. Furthermore, `tab_width` (which is likely what was intended when `indent_size` was entered) should be left up to the user. If the user likes an 8-character indent, then let them. If they like 2-character indent size, then let them. Using tabs means that this all works normally for everyone, even if it's different on different screens.
2021-08-14 20:14:01 -07:00
Noah Gorny d2ab59fef8 Disable keep-padding option in shfmt
Has some serious bugs and not really needed
Also fixed all files that need to be changed after this
2021-01-21 22:08:45 +02:00
cornfeedhobo ded58f25e3
include test/run in editorconfig 2021-01-01 14:25:23 -06:00
cornfeedhobo b8dda491c7
fix wildcard matches to include path separators 2021-01-01 14:24:34 -06:00
Noah Gorny 859038e58f Allow trailing spaces in md/rst files 2020-12-17 01:42:25 +02:00
Noah Gorny dd1474990c Modify general editorconfig settings 2020-10-30 10:17:11 +02:00
Ira Abramov eca68db8cc Fixing the indent to everyone's content 2020-10-29 19:57:14 +02:00
Ira Abramov 81f7af5036 In case we ARE committing to tabs now... 2020-10-29 19:57:14 +02:00
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