clang-format in null-ls doesn't follow .clang-format file #581
Labels
duplicate
This issue or pull request already exists
formatting
Lsp-formatting related issues
usage
User-specific issues
Version confirmation
Following prerequisites
Neovim version
NVIM v0.9.0-dev-1193+ga7cd79349
Operating system/version
Archlinux
Terminal name/version
kitty 0.27.1
$TERM environment variable
xterm-kitty
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
Affected language servers
clangd, null-ls
How to reproduce the issue
:Mason
find clang-format
i
to installq
to exit mason paneltouch a
.clang-format
file in the c++ project root dir with contentedit a c++ file
C-s
to save and formatA-d
to open a terminal and runclang-format [filename]
Actual behavior
file content doesn't formatted with the clang-format config file, clang-format in console runs well.
Expected behavior
file formatted with
.clang-format
fileSupport info
Logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: