summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-07-18 23:00:08 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-07-18 23:00:08 +0200
commit4033ac02d0a0b4abb2f1e373529ead6eca4290ae (patch)
tree0036d2edbfa12b733d9965062e637149c257a7cf /ftdetect
parent9ab9275f66562de7d87df31ac8f2786981d770fd (diff)
downloadvim-polyglot-4033ac02d0a0b4abb2f1e373529ead6eca4290ae.tar.gz
vim-polyglot-4033ac02d0a0b4abb2f1e373529ead6eca4290ae.zip
Add solidity support, closes #65
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 5ecde6fc..0cabe1f8 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -191,6 +191,7 @@ au BufRead,BufNewFile *.scala set filetype=scala
au BufRead,BufNewFile * call s:DetectScala()
au BufRead,BufNewFile *.sbt setfiletype sbt.scala
autocmd BufNewFile,BufRead *.slim set filetype=slim
+au BufNewFile,BufRead *.sol setf solidity
autocmd BufNewFile,BufReadPost *.styl set filetype=stylus
autocmd BufNewFile,BufReadPost *.stylus set filetype=stylus
autocmd BufNewFile,BufRead *.swift set filetype=swift