- commit
- 9c0feb1
- parent
- b840dbc
- author
- Eric Bower
- date
- 2026-01-18 22:55:38 -0500 EST
feat: root editorconfig
3 files changed,
+35,
-2
+30,
-0
1@@ -0,0 +1,30 @@
2+# top-most editorconfig file
3+root = true
4+
5+[*]
6+indent_style = space
7+indent_size = 2
8+end_of_line = lf
9+charset = utf-8
10+trim_trailing_whitespace = true
11+insert_final_newline = true
12+
13+[*.py]
14+indent_style = space
15+indent_size = 4
16+
17+[Makefile]
18+indent_style = tab
19+indent_size = 8
20+
21+[*.go]
22+indent_style = tab
23+indent_size = 8
24+
25+[*.zig]
26+indent_style = space
27+indent_size = 2
28+
29+[*.{js,ts,tsx}]
30+indent_style = space
31+indent_size = 2
+3,
-2
1@@ -2,8 +2,6 @@ colorscheme tomorrow-night
2
3 set-option global autoreload true
4 set-option global grepcmd 'rg -n'
5-set-option global tabstop 2
6-set-option global indentwidth 0
7 set-option global ui_options terminal_assistant=none # disable clippy
8 set-option global scrolloff 3,3
9
10@@ -47,6 +45,9 @@ define-command copy-github-permalink %{
11
12 map global user u ':copy-github-permalink<ret>' -docstring 'Copy github permalink'
13
14+hook global BufOpenFile .* editorconfig-load
15+hook global BufNewFile .* editorconfig-load
16+
17 hook global WinCreate .* %{
18 addhl window/ column 100 default,rgb:404040
19 }
+2,
-0
1@@ -12,6 +12,7 @@ TRACKED_FILES=(
2 dot/msmtprc
3 dot/npmrc
4 dot/zshrc
5+ dot/editorconfig
6 )
7
8 TRACKED_LOCATIONS=(
9@@ -26,6 +27,7 @@ TRACKED_LOCATIONS=(
10 ~/.msmtprc
11 ~/.npmrc
12 ~/.zshrc
13+ ~/.editorconfig
14 )
15
16 find_files() {