valentjn / ltex-ls

LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
717 stars 33 forks source link

"diff" part of verbose commits should be ignored #305

Open MithicSpirit opened 1 month ago

MithicSpirit commented 1 month ago

Describe the bug The diff part of a verbose commit message (see man git-commit(1)) is treated as text and often leads to MANY errors since it's usuallyc ode.

Steps to reproduce Steps to reproduce the behavior:

  1. Set your $EDITOR to something with ltex-ls support.
  2. Run git commit -v on some repository
  3. Wait for the excessive diagnostics to show up

Expected behavior The diff part would be ignored and no diagnostics would show up.

LTeX configuration No relevant settings.

Version information List here the version information of the relevant software.