From 6f0506748542d834557bd4cc4ed79f1db952feda Mon Sep 17 00:00:00 2001 From: fengbh <1953356163@qq.com> Date: Fri, 9 May 2025 09:39:29 +0800 Subject: [PATCH] opt for use --- vim/.vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index f6f3411..67469cd 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -3,7 +3,7 @@ " License : MIT " Author : Feng Bohan <1953356163@qq.com> " Date : 2025-04-18 08:39:57 -" Last Modified Date: 2025-04-27 09:08:13 +" Last Modified Date: 2025-04-30 16:07:00 " Last Modified By : Feng Bohan <1953356163@qq.com> " Copyright © 2025 Shanghai Fudan Microelectronics Group Co.,Ltd. All Rights Reserved. @@ -162,9 +162,9 @@ call plug#end() " 1:All messages are detected. " 2:Ignore lint messages. " 3:Ignore lint and warning messages. -autocmd FileType verilog_systemverilog silent :VerilogErrorFormat vcs 2 -autocmd FileType verilog_systemverilog let &makeprg='vlogan +v2k -full64 +vcs+flush+all +lint=all -sverilog +libext+.v+.sv -q %' -autocmd BufWritePost * if &filetype == "verilog_systemverilog" | exec ":make" | endif +"autocmd FileType verilog_systemverilog silent :VerilogErrorFormat vcs 2 +"autocmd FileType verilog_systemverilog let &makeprg='vlogan +v2k -full64 +vcs+flush+all +lint=all -sverilog +libext+.v+.sv -q %' +"autocmd BufWritePost * if &filetype == "verilog_systemverilog" | exec ":make" | endif "Following an Instance "A framework is provided to follow a module instance to its module declaration as long as its respective entry exists in the tags file. To do so simply execute within the instance to follow it to its declaration.:VerilogFollowInstance @@ -371,7 +371,7 @@ silent! call repeat#set("\MyWonderfulMap", v:count) " configure for vim-header "============================================================================= " 启用自动插入(新建文件时) -let g:header_auto_add_header = 1 +let g:header_auto_add_header = 0 let g:header_auto_update_header = 1 "let g:header_field_project = 'Your Project' let g:header_field_filename_path = 0