.vvconfig/install/vim/vimconfig/InsertCopyRight.vim

6 lines
862 B
VimL
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function InsertCopyRight()
setlocal formatoptions-=r
let copyRight = ['//', '// Copyright (c) 2023 Suzhou Yige Technology Co., Ltd (EagleChip)', '// All Rights Reserved.', '// ', '// This software constitutes an unpublished work and contains', '// valuable proprietary information and trade secrets belonging', '// to EagleChip.', '// ', '// This software may not be used, copied, distributed, modified or', '// disclosed without specific prior written authorization from', '// EagleChip.', '// ', '// The copyright notice above does not evidence any actual or', '// intended publication of such software.', '// ', '// Description : Make a short description for your file', '// ', '// Revision ', '// Rev. Date Designer Description', '// 1.0 2022-1-15 Designer Initial version', '// ']
return join(copyRight, "\n")
endfunction