feat: enable diagnostics (#891)
This commit is contained in:
12
lua/avante/templates/_diagnostics.avanterules
Normal file
12
lua/avante/templates/_diagnostics.avanterules
Normal file
@@ -0,0 +1,12 @@
|
||||
{%- if use_xml_format -%}
|
||||
{%- if diagnostics -%}
|
||||
<diagnostics>
|
||||
{{diagnostics}}
|
||||
</diagnostics>
|
||||
{%- endif %}
|
||||
{%- else -%}
|
||||
{%- if diagnostics -%}
|
||||
DIAGNOSTICS:
|
||||
{{diagnostics}}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
Reference in New Issue
Block a user