ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.95k stars 459 forks source link

feat(clang_format): disable formatting for all Java files #1347

Closed Jint-lzxy closed 2 months ago

Jint-lzxy commented 2 months ago

This commit disables clang_format for all Java files. The main reason is to ensure that formatting is managed by jdtls, which adheres to a widely accepted standard. Given that Java developers have a strong preference for this approach, it makes more sense to let a Java-specific language server handle the formatting rather than relying on a more general-purpose formatter like clang_format.