mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
0b7e1730bc
runtime(solidity): add new ftplugin (vim/vim#12877)
Set undo_{ftplugin,indent}
closes vim/vim#11240
e34b51e95f
Co-authored-by: dkearns <dougkearns@gmail.com>
Co-authored-by: cothi <jiungdev@gmail.com>
16 lines
394 B
VimL
16 lines
394 B
VimL
" 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<"
|