summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2022-02-08 20:05:11 -0600
committerBobby Bingham <koorogi@koorogi.info>2022-02-08 20:05:11 -0600
commitad156d76ea249dc5886cffba289a2bd849fe4db4 (patch)
tree725a991c9a82b536f007e66390c5300ad3b82bf9 /nvim
parent30fbaa9d5f774271d294fcaff9121435511e50e5 (diff)
nvim: recognize zig files
Diffstat (limited to 'nvim')
-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
+