aboutsummaryrefslogtreecommitdiff
path: root/ftdetect/python.vim
diff options
context:
space:
mode:
authorMitermayer Reis <mitermayer.reis@gmail.com>2018-11-05 14:34:16 -0800
committerGitHub <noreply@github.com>2018-11-05 14:34:16 -0800
commitc61d6ecce37e04e4257e1f4a0ec3c53cdf972ae5 (patch)
tree545847ceded5f9c3ef73d28dc9e73d41898713e2 /ftdetect/python.vim
parentf84a45f6f1332db9f7a0579214e76c207508f987 (diff)
parentccc58c21190c563128fe0c2eac28858790d68393 (diff)
downloadvim-prettier-c61d6ecce37e04e4257e1f4a0ec3c53cdf972ae5.tar.xz
Merge pull request #155 from prettier/adding-pluggin-support
Rebasing vim-prettier plugin Pull Request 120 to 1.0 branch
Diffstat (limited to 'ftdetect/python.vim')
-rw-r--r--ftdetect/python.vim3
1 files changed, 3 insertions, 0 deletions
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