Maintained syntax files for Solidity, the smart contract programming language for Ethereum.
Run the following command:
git clone https://github.com/thesis/vim-solidity.git ~/.vim/bundle/vim-solidity
Add the following line to your ~/.vimrc
:
Plugin 'thesis/vim-solidity'
Add the following line to your ~/.vimrc
:
Plug 'thesis/vim-solidity', {'branch': 'main' }
Copy all of the files manually into your ~/.vim
.
augroup solidity_folding
au!
au FileType solidity setlocal foldmethod=syntax
augroup END
Will enable Solidity code-folding based on the included syntax file. This might have an impact on editing performance.