Skip to content

Commit

Permalink
pref(辅助码): 提示保留原有 comment 内容
Browse files Browse the repository at this point in the history
  • Loading branch information
JacianLiu authored Oct 27, 2024
1 parent 2aaeec7 commit d718661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/auxCode_filter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,11 @@ function AuxFilter.func(input, env)
originalCand.comment .. shadowComment .. '(' .. codeComment .. ')')
elseif env.show_aux_notice == "trigger" then
if string.find(inputCode,env.trigger_key_string) then
cand.comment = '(' .. codeComment .. ')'
cand.comment = cand.comment .. '(' .. codeComment .. ')'
end
else
-- 其他情况直接给注释添加辅助代码
cand.comment = '(' .. codeComment .. ')'
cand.comment = cand.comment .. '(' .. codeComment .. ')'
end
end

Expand Down

0 comments on commit d718661

Please sign in to comment.