Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 14 hours 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T18:18:38.000Z (about 2 years ago)
- Last Synced: 2023-08-16T20:42:01.070Z (over 1 year ago)
- Topics: ethereum, solidity, vim, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 61.5 KB
- Stars: 46
- Watchers: 5
- Forks: 5
- Open Issues: 7
-
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.