-
Notifications
You must be signed in to change notification settings - Fork 487
Closed
Labels
envIssues caused by incorrect environment settings (terminal, package manager, etc.)Issues caused by incorrect environment settings (terminal, package manager, etc.)formattingLsp-formatting related issuesLsp-formatting related issuesusageUser-specific issuesUser-specific issues
Description
Version confirmation
- Confirm
Following prerequisites
- Confirm
Neovim version
NVIM v0.10.0-dev-951+g5d8ab32f3-Homebrew
Branch info
main (Default/Latest)
Minimal (user) folder structure required to reproduce the issue
lua/modules/configs/completion/formattersMinimal config with steps on how to reproduce the issue
I have made the following changes in clang_format.lua:
return {"-style=file"}I used clang-format -style=google -dump-config > .clang-format to generate the .clang-format file, and I placed it in the root directory of the project. The directory structure is as follows.
├── .git
├── src
│ ├── xxx.cpp
├── .clang-formatHowever, when I use :wq it still doesn't work. Do you know what the issue might be?
Expected behavior
It should format correctly.
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
envIssues caused by incorrect environment settings (terminal, package manager, etc.)Issues caused by incorrect environment settings (terminal, package manager, etc.)formattingLsp-formatting related issuesLsp-formatting related issuesusageUser-specific issuesUser-specific issues