summaryrefslogtreecommitdiffstats
path: root/ftdetect/scala.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-16 16:53:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-16 16:54:16 +0200
commitd7873996b43339f6d272ffa8e3616a4e5793dc26 (patch)
tree15449a6f9f916414b8a8bec3d63fd18c44ec720a /ftdetect/scala.vim
parent73cbf0269e137499d22949da48cb71a24f7bfa73 (diff)
downloadvim-polyglot-d7873996b43339f6d272ffa8e3616a4e5793dc26.tar.gz
vim-polyglot-d7873996b43339f6d272ffa8e3616a4e5793dc26.zip
Concat ftdetect scripts and mention startup cost in the README
Diffstat (limited to '')
-rw-r--r--ftdetect/scala.vim8
1 files changed, 0 insertions, 8 deletions
diff --git a/ftdetect/scala.vim b/ftdetect/scala.vim
deleted file mode 100644
index 997a701e..00000000
--- a/ftdetect/scala.vim
+++ /dev/null
@@ -1,8 +0,0 @@
-fun! s:DetectScala()
- if getline(1) == '#!/usr/bin/env scala'
- set filetype=scala
- endif
-endfun
-
-au BufRead,BufNewFile *.scala,*.sbt set filetype=scala
-au BufRead,BufNewFile * call s:DetectScala()