aboutsummaryrefslogtreecommitdiff
path: root/ftdetect
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/lua.vim1
-rw-r--r--ftdetect/php.vim1
-rw-r--r--ftdetect/python.vim1
-rw-r--r--ftdetect/swift.vim1
4 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/lua.vim b/ftdetect/lua.vim
new file mode 100644
index 0000000..b59148c
--- /dev/null
+++ b/ftdetect/lua.vim
@@ -0,0 +1 @@
+autocmd BufNewFile,BufReadPost *.lua setfiletype lua
diff --git a/ftdetect/php.vim b/ftdetect/php.vim
new file mode 100644
index 0000000..1e3236f
--- /dev/null
+++ b/ftdetect/php.vim
@@ -0,0 +1 @@
+autocmd BufNewFile,BufReadPost *.php setfiletype php
diff --git a/ftdetect/python.vim b/ftdetect/python.vim
new file mode 100644
index 0000000..a33fa5d
--- /dev/null
+++ b/ftdetect/python.vim
@@ -0,0 +1 @@
+autocmd BufNewFile,BufReadPost *.python setfiletype python
diff --git a/ftdetect/swift.vim b/ftdetect/swift.vim
new file mode 100644
index 0000000..af59e95
--- /dev/null
+++ b/ftdetect/swift.vim
@@ -0,0 +1 @@
+autocmd BufNewFile,BufReadPost *.swift setfiletype swift