mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Add lang#solidity layer
This commit is contained in:
parent
a22fa9b423
commit
3988bd67ed
10
autoload/SpaceVim/layers/lang/solidity.vim
Normal file
10
autoload/SpaceVim/layers/lang/solidity.vim
Normal file
@ -0,0 +1,10 @@
|
||||
function! SpaceVim#layers#lang#solidity#plugins() abort
|
||||
let plugins = [
|
||||
\ ['tomlion/vim-solidity', {'merged' : 0, 'on_ft' : 'solidity'}]
|
||||
\ ]
|
||||
return plugins
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#lang#solidity#config() abort
|
||||
|
||||
endfunction
|
@ -1,3 +1,4 @@
|
||||
au BufRead,BufNewFile *.rs set filetype=rust
|
||||
au BufNewFile,BufRead *.sol setf solidity
|
||||
|
||||
" vim:set et sw=2
|
||||
|
Loading…
x
Reference in New Issue
Block a user