Compare commits

..

No commits in common. "1feed4ea3fcff8668a417d2673eda08ffb4516e1" and "8309e9254ea4a105622b40ea0e0c7c122415972d" have entirely different histories.

3 changed files with 4 additions and 25 deletions

View File

@ -5,9 +5,7 @@ root = true
# Defaults # Defaults
[*] [*]
# Future: https://github.com/editorconfig/editorconfig/issues/89 # Future: https://github.com/editorconfig/editorconfig/issues/89
# Remember to always .gitattributes. lf line-endings are prettier default and # Linux line endings, this repo/file is unlikely to be used in Windows
# required by doctoc, so enabling either of those breaks on Windows unless lf
# is specified here and in .gitattributes
end_of_line = lf end_of_line = lf
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
@ -15,15 +13,11 @@ charset = utf-8
# Accessibility reasons. Vim: :%retab! (note also :set ts=4) # Accessibility reasons. Vim: :%retab! (note also :set ts=4)
indent_style = tab indent_style = tab
indent_size = tab indent_size = tab
# Usable in common Braille displays? Line continuation marker and diffing
# take two. Prettier default 80. WCAG requirement 80.
max_line_length = 78
# Opinionated affecting only display, better to not set # Opinionated affecting only display, better to not set
#tab_width = #tab_width =
# *nix, just in case # *nix, just in case
[*.{bash,sh}] [*.{bash,sh}]
# .gitattributes !
end_of_line = lf end_of_line = lf
# Limnoria/Supybot config files use trailing spaces for empty config files, # Limnoria/Supybot config files use trailing spaces for empty config files,
@ -36,9 +30,6 @@ trim_trailing_whitespace = false
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.csv]
max_line_length =
# Markdown apparently allows linebreaks by two trailing spaces, while I # Markdown apparently allows linebreaks by two trailing spaces, while I
# never seem to do that, maybe I should accept it # never seem to do that, maybe I should accept it
[{LICENSE,*.{markdown,md}}] [{LICENSE,*.{markdown,md}}]
@ -73,15 +64,9 @@ indent_style = tab
indent_size = tab indent_size = tab
# empty last columns/fields # empty last columns/fields
trim_trailing_whitespace = false trim_trailing_whitespace = false
max_line_length =
# RFC 678
#[*.txt]
#max_line_length = 72
# Windows line-endings for Windows # Windows line-endings for Windows
[*.{reg,bat,ahk}] [*.{reg,bat,ahk}]
# Remember the .gitattributes !
end_of_line = crlf end_of_line = crlf
# YAML requires spaces. The GitHub citation files look YAML to me. # YAML requires spaces. The GitHub citation files look YAML to me.

View File

@ -19,5 +19,3 @@ repos:
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
# I don't actually care about line lengths as more than a guideline
args: [-disable-max-line-length]

View File

@ -105,10 +105,6 @@ autocmd BufReadPost *
" Highlight all search results " Highlight all search results
set hlsearch set hlsearch
" Keep text under 78 chars. Common Braille displays have 80, one reserved for " Red column on the right as indication on what I wish to consider as the
" line continuation, one for diffing? " maximum length of a line.
" https://github.com/prettier/prettier/issues/7475#issuecomment-1484238440 set colorcolumn=76
set textwidth=78
" Marginal/line just before that. Set separately so it gets affected by
" editorconfig and modelines?
set colorcolumn=-1