summaryrefslogtreecommitdiff
path: root/nvim/.config/nvim/ftdetect/zig.vim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/.config/nvim/ftdetect/zig.vim')
-rw-r--r--nvim/.config/nvim/ftdetect/zig.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/.config/nvim/ftdetect/zig.vim b/nvim/.config/nvim/ftdetect/zig.vim
new file mode 100644
index 0000000..2b3b53a
--- /dev/null
+++ b/nvim/.config/nvim/ftdetect/zig.vim
@@ -0,0 +1,3 @@
+au FileType zig setlocal expandtab
+au BufRead,BufNewFile *.zig set filetype=zig
+