Skip to content

Commit

Permalink
Add editorconfig configuration
Browse files Browse the repository at this point in the history
The values are based on current state of files as well as existing Vim
modeline values.

http:https://editorconfig.org/
  • Loading branch information
steelman committed Jun 18, 2024
1 parent 4ed7077 commit ec814ad
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# EditorConfig configuration for liquidprompt
# http:https://EditorConfig.org

# Top-most EditorConfig file
root = true

[*]
charset = utf-8
indent_style = space
trim_trailing_whitespace = true

[liquidprompt,*.theme,*.bashrc,.*.conf,*.ps1,*.css,/tools/config-from-doc.sh]
indent_size = 4
max_line_length = 120

[*.sh,*.zsh,PKGBUILD]
indent_size = 2
max_line_length = 120

[*.py]
indent_size = 4

[*.md]
# Apparently trailing whitspaces are meaningfull in Markdown
trim_trailing_whitespace = false

[*.yml]
indent_size = 2

[*.bat]
indent_size = 8
indent_style = tab

# TODO:
#
# *.rst
# *.txt

0 comments on commit ec814ad

Please sign in to comment.