summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2019-02-16 23:48:57 -0330
committerTim Oram <dev@mitmaro.ca>2019-03-16 22:54:21 -0230
commit166a8bc53895a340625c781bb5dbc2f9794a3a23 (patch)
tree36772b66c304704256044160d0154b8038e4a06b /.editorconfig
parent9ded4718ca3a8ff0aca5f03c813bb10cbe97ba49 (diff)
Core application rewrite
This change rewrites most of the core of the application from the ground up. The most significant change is the handling of text overflow. Horizontally text is truncated to fit the width of the terminal and vertical overflow is handled with scrolling. Finally, when the terminal window gets too small a compact view is rendered instead of the full normal view. Previously the show commit pane would capture and parse stdout from an external git command. Since this is slow and prone to error, this has been updated to instead use libgit2 (using git2-rs) to retrieve information about the commit. All functionality in the application is now handled using the internal state machine. Initially certain functionality, such as the dialogs and shelling out to an external editor was not using the state machine. This resulted in these operations being inconsistent.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..ad2c6d8
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+[*]
+indent_style = tab
+end_of_line = lf
+insert_final_newline = true
+
+[*.md]
+indent_style = space
+indent_size = 4
+
+[*.yml]
+indent_style = space
+indent_size = 4