1
"=============================================================================
2
" filetype.vim --- filetype detect for SpaceVim
3
" Copyright (c) 2016-2020 Wang Shidong & Contributors
4
" Author: Wang Shidong < wsdjeg at 163.com >
5
" URL: https://spacevim.org
6
" License: GPLv3
7
"=============================================================================
8

9 12
augroup spacevim_filetype_script
10 12
  autocmd!
11 12
  au BufRead,BufNewFile *.rs set filetype=rust
12 12
  au BufNewFile,BufRead *.sol setf solidity
13 12
augroup END
14

15
" vim:set et sw=2

Read our documentation on viewing source code .

Loading