Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 830 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 830 Bytes

vim-solidity

Maintained syntax files for Solidity, the smart contract programming language for Ethereum.

Installation

Pathogen

Run the following command:

git clone https://github.com/thesis/vim-solidity.git ~/.vim/bundle/vim-solidity

Vundle

Add the following line to your ~/.vimrc:

Plugin 'thesis/vim-solidity'

Plug

Add the following line to your ~/.vimrc:

Plug 'thesis/vim-solidity', {'branch': 'main' }

No Plugin Manager

Copy all of the files manually into your ~/.vim.

Configuration

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.