{"repo":"thesis/vim-solidity","free":true,"listed":false,"github":"https://github.com/thesis/vim-solidity","clone":"git clone https://github.com/thesis/vim-solidity.git","description":"Syntax highlighting for Solidity in Vim","language":"Vim Script","stars":51,"topics":["solidity","ethereum","vim","vim-plugin"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"vim-solidity The actively maintained Solidity plugin for Vim. Comprehensive syntax highlighting, indentation, and code folding for Solidity, the smart contract programming language for Ethereum. Supports Solidity 0.8.x with all modern language features. Features - ✅ Modern Solidity 0.8.x support : All keywords through Solidity 0.8.24 - transient storage (0.8.24+) - unchecked blocks (0.8.0+) - Custom error declarations (0.8.4+) - User-defined value types ( type Foo is uint256 , 0.8.18+) - using ... global syntax (0.8.19+) - fallback() and receive() functions - ✅ Smart indentation : Context-aware indentation for functions, contracts, and blocks - ✅ Code folding : Fold contracts, functions, and assembly blocks - ✅ NatSpec support : Syntax highlighting for @param , @return , @notice , etc. - ✅ Yul/Assembly : Full Yul opcode highlighting with proper scoping - ✅ Foundry integration : Automatic detection of .t.sol and .s.sol files - ✅ Pure Vim : No external dependencies, works in Vim 8.0+ and Neovim Installation vim-plug Add to your /.vimrc or /.config/nvim/init.vim : Then run :PlugInstall Vundle Add to your /.vimrc : Then run :PluginInstall Pathogen Native Vim Packages (Vim 8+) Neovim with lazy.nvim Configuration Enable Code Folding Add to your /.vimrc : Usage: - zc - Close fold under cursor - zo - Open fold under cursor - zM - Close all folds - zR - Open all folds Comment Toggling vim-solidity works with vim-commentary: Usage: - gcc - Toggle comment on current line - gc in visual ","default_branch":null,"files":null,"tree":[],"storefront":"/r/thesis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thesis/vim-solidity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}