2018-02-19 22:07:04 +08:00
|
|
|
"=============================================================================
|
|
|
|
" filetype.vim --- filetype detect for SpaceVim
|
2019-06-09 14:11:17 +08:00
|
|
|
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
2018-02-19 22:07:04 +08:00
|
|
|
" Author: Wang Shidong < wsdjeg at 163.com >
|
|
|
|
" URL: https://spacevim.org
|
|
|
|
" License: GPLv3
|
|
|
|
"=============================================================================
|
|
|
|
|
2019-01-28 22:12:37 +08:00
|
|
|
augroup spacevim_filetype_script
|
|
|
|
autocmd!
|
|
|
|
au BufRead,BufNewFile *.rs set filetype=rust
|
|
|
|
au BufNewFile,BufRead *.sol setf solidity
|
|
|
|
augroup END
|
2017-06-27 14:30:39 +08:00
|
|
|
|
2017-03-06 23:26:26 +08:00
|
|
|
" vim:set et sw=2
|