Add editorconfig to improve formatting consistency
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..a3284ca
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_style = space
+indent_size = 4
+max_line_length = 120
diff --git a/src/apps/personal/vim.nix b/src/apps/personal/vim.nix
index 03eb00b..0e3b231 100644
--- a/src/apps/personal/vim.nix
+++ b/src/apps/personal/vim.nix
@@ -155,7 +155,7 @@
endtry
endfunction
- autocmd BufWinEnter ?* silent! call loadViewOrUnfold
+ autocmd BufWinEnter ?* call s:loadViewOrUnfold()
'';
plugins = [