mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-19 12:47:27 +02:00
Compare commits
No commits in common. "1feed4ea3fcff8668a417d2673eda08ffb4516e1" and "8309e9254ea4a105622b40ea0e0c7c122415972d" have entirely different histories.
1feed4ea3f
...
8309e9254e
@ -5,9 +5,7 @@ root = true
|
||||
# Defaults
|
||||
[*]
|
||||
# Future: https://github.com/editorconfig/editorconfig/issues/89
|
||||
# Remember to always .gitattributes. lf line-endings are prettier default and
|
||||
# required by doctoc, so enabling either of those breaks on Windows unless lf
|
||||
# is specified here and in .gitattributes
|
||||
# Linux line endings, this repo/file is unlikely to be used in Windows
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
@ -15,15 +13,11 @@ charset = utf-8
|
||||
# Accessibility reasons. Vim: :%retab! (note also :set ts=4)
|
||||
indent_style = 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
|
||||
#tab_width =
|
||||
|
||||
# *nix, just in case
|
||||
[*.{bash,sh}]
|
||||
# .gitattributes !
|
||||
end_of_line = lf
|
||||
|
||||
# Limnoria/Supybot config files use trailing spaces for empty config files,
|
||||
@ -36,9 +30,6 @@ trim_trailing_whitespace = false
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.csv]
|
||||
max_line_length =
|
||||
|
||||
# Markdown apparently allows linebreaks by two trailing spaces, while I
|
||||
# never seem to do that, maybe I should accept it
|
||||
[{LICENSE,*.{markdown,md}}]
|
||||
@ -73,15 +64,9 @@ indent_style = tab
|
||||
indent_size = tab
|
||||
# empty last columns/fields
|
||||
trim_trailing_whitespace = false
|
||||
max_line_length =
|
||||
|
||||
# RFC 678
|
||||
#[*.txt]
|
||||
#max_line_length = 72
|
||||
|
||||
# Windows line-endings for Windows
|
||||
[*.{reg,bat,ahk}]
|
||||
# Remember the .gitattributes !
|
||||
end_of_line = crlf
|
||||
|
||||
# YAML requires spaces. The GitHub citation files look YAML to me.
|
||||
|
@ -19,5 +19,3 @@ repos:
|
||||
hooks:
|
||||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
# I don't actually care about line lengths as more than a guideline
|
||||
args: [-disable-max-line-length]
|
||||
|
10
rc/vimrc
10
rc/vimrc
@ -105,10 +105,6 @@ autocmd BufReadPost *
|
||||
" Highlight all search results
|
||||
set hlsearch
|
||||
|
||||
" Keep text under 78 chars. Common Braille displays have 80, one reserved for
|
||||
" line continuation, one for diffing?
|
||||
" https://github.com/prettier/prettier/issues/7475#issuecomment-1484238440
|
||||
set textwidth=78
|
||||
" Marginal/line just before that. Set separately so it gets affected by
|
||||
" editorconfig and modelines?
|
||||
set colorcolumn=-1
|
||||
" Red column on the right as indication on what I wish to consider as the
|
||||
" maximum length of a line.
|
||||
set colorcolumn=76
|
||||
|
Loading…
x
Reference in New Issue
Block a user