diff options
Diffstat (limited to 'ftdetect')
| -rw-r--r-- | ftdetect/lua.vim | 3 | ||||
| -rw-r--r-- | ftdetect/php.vim | 3 | ||||
| -rw-r--r-- | ftdetect/python.vim | 3 | ||||
| -rw-r--r-- | ftdetect/swift.vim | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/ftdetect/lua.vim b/ftdetect/lua.vim new file mode 100644 index 0000000..25550f7 --- /dev/null +++ b/ftdetect/lua.vim @@ -0,0 +1,3 @@ +augroup PrettierFileDetect + autocmd BufNewFile,BufReadPost *.lua setfiletype lua +augroup end diff --git a/ftdetect/php.vim b/ftdetect/php.vim new file mode 100644 index 0000000..34e3604 --- /dev/null +++ b/ftdetect/php.vim @@ -0,0 +1,3 @@ +augroup PrettierFileDetect + autocmd BufNewFile,BufReadPost *.php setfiletype php +augroup end diff --git a/ftdetect/python.vim b/ftdetect/python.vim new file mode 100644 index 0000000..ed6cf7a --- /dev/null +++ b/ftdetect/python.vim @@ -0,0 +1,3 @@ +augroup PrettierFileDetect + autocmd BufNewFile,BufReadPost *.python setfiletype python +augroup end diff --git a/ftdetect/swift.vim b/ftdetect/swift.vim new file mode 100644 index 0000000..6c31710 --- /dev/null +++ b/ftdetect/swift.vim @@ -0,0 +1,3 @@ +augroup PrettierFileDetect + autocmd BufNewFile,BufReadPost *.swift setfiletype swift +augroup end |
