aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/lua.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftdetect/lua.vim')
-rw-r--r--vim/ftdetect/lua.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/ftdetect/lua.vim b/vim/ftdetect/lua.vim
new file mode 100644
index 00000000..d6c635a0
--- /dev/null
+++ b/vim/ftdetect/lua.vim
@@ -0,0 +1,4 @@
+" Lua files
+autocmd BufNewFile,BufRead
+ \ *.lua
+ \ setfiletype lua