https://github.com/thesis/vim-solidity
Syntax highlighting for Solidity in Vim
https://github.com/thesis/vim-solidity
ethereum solidity vim vim-plugin
Last synced: about 1 year ago
JSON representation
Syntax highlighting for Solidity in Vim
- Host: GitHub
- URL: https://github.com/thesis/vim-solidity
- Owner: thesis
- License: mit
- Created: 2020-07-09T04:02:05.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T18:18:38.000Z (over 3 years ago)
- Last Synced: 2025-04-23T07:55:20.763Z (about 1 year ago)
- Topics: ethereum, solidity, vim, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 61.5 KB
- Stars: 50
- Watchers: 4
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-solidity
Maintained syntax files for [Solidity](https://github.com/ethereum/solidity),
the smart contract programming language for Ethereum.
## Installation
### Pathogen
Run the following command:
```bash
git clone https://github.com/thesis/vim-solidity.git ~/.vim/bundle/vim-solidity
```
### Vundle
Add the following line to your `~/.vimrc`:
```vim
Plugin 'thesis/vim-solidity'
```
### Plug
Add the following line to your `~/.vimrc`:
```vim
Plug 'thesis/vim-solidity', {'branch': 'main' }
```
### No Plugin Manager
Copy all of the files manually into your `~/.vim`.
## Configuration
```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.