Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime(solidity): add new ftplugin (#12877)
Set undo_{ftplugin,indent} closes #11240 Co-authored-by: cothi <jiungdev@gmail.com>
- Loading branch information
Showing
4 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
" Vim filetype plugin file | ||
" Language: Solidity | ||
" Maintainer: Cothi (jiungdev@gmail.com) | ||
" Original Author: tomlion (https://github.com/tomlion/vim-solidity) | ||
" Last Change: 2022 Sep 27 | ||
" 2023 Aug 22 Vim Project (did_ftplugin, undo_ftplugin) | ||
|
||
if exists("b:did_ftplugin") | ||
finish | ||
endif | ||
let b:did_ftplugin = 1 | ||
|
||
setlocal commentstring=//\ %s | ||
|
||
let b:undo_ftplugin = "setlocal commentstring<" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters