<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/153355>153355</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Option to increase maximum expansion text size for clangd textDocument/hover
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          JaagupAverin
      </td>
    </tr>
</table>

<pre>
    Hello! Using Zephyr for development, macros are a big part of the ecosystem. Some macros may be tens of thousands of characters long but in some situations, as uncomfortable as they are to read, previewing them IS desired.

Currently the macro preview appears capped at 2048: https://github.com/llvm/llvm-project/blob/2ae4e95dda5d9aebe888acd5c5d618fb3b45c7c6/clang-tools-extra/clangd/Hover.cpp#L798

I would like to request a feature that would allow the user to increase this limit, e.g. with --max-hover-size=N

Is this something the team would accept? I can create a PR myself but would first like thoughts on the issue.
Thanks
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUU03P4zYP_DXKhUjgyFbiHHzIuw-MfV4UbdFtL73REmOrK0uuROWjv76Qk6DosSfb8lDDmSExJTt6ok6o_wn1scHMU4jd_xHHvJyvFK3fDME8uq_kXBByD78l60f4nZbpEeESIhi6kgvLTJ6F_AIz6hgSYCRAGOwIC0aGcAGeCEiH9EhM8w6-hZne4BkfMBAw-fREhpzQm_VDTxhRM8UELvgRhsxgPaRSnixnZBt8KsyYIHsd5kuIjIOjcsATPdZeOEAkNAW3RLpauhUZPNEMn9_AULKRzE5UZ1Gdv-QYybN7rD2vPb6LAJeFMCbQ5cUAMsiqaUV9hol5SaI-C9kL2Y-WpzzsdJiF7J27vh_bJYY_SLOQ_eDCIGQvkRo6KWNQmRPSQG3bojZKK3PYt5ehHhqlj_ogZK8d-nHLIbi0pTtHfJ8ZIfuv4Upxp5dFyPqH46l9avmEW8jOgLPfXyb8mSkxIFwIORdnJuQXCJ0Lt1V0ThQL3HodCVNB2QTOznYNmXbjDm6WJ9huZ7xvp8K9TfYvEvXHjy_m9CwqSfH0chuYcH6zaU0Li7qHT9DooTBxmZqff4H5kchd1rCf4IuNiV8qppDHiRMEv15pU8pUovt1Qv89bUxXm1N9wg11-6NS1eF4apvN1FF1bGhQimrVUnNQGttTNUh9qPTeEOHGdrKSqmr3dXVQddXs6lOtjtVeVu1hb4ZWi6aiGa3blSR3IY6blbvbq7pWauNwIJfWVZLS0-3ZmZCybFbs1viHPCbRVM4mTv9cw5YddT8tZZb_ZfuMdzvnGei-oE_rX7ozFKfX5Xumvx5-BJ2fS9ivcWxydN1_Hsq15SRk_9J07eTfAQAA__-dxGgu">