From 855108ffc28c33c937e72ebfbbffa50271d988f5 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Tue, 5 Sep 2023 11:41:26 -0500 Subject: [PATCH] fixed fight between treesitter and clang-format WRT indentation. --- neovim/.clang-format | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 neovim/.clang-format diff --git a/neovim/.clang-format b/neovim/.clang-format new file mode 100644 index 0000000..c44d557 --- /dev/null +++ b/neovim/.clang-format @@ -0,0 +1,8 @@ +--- +#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other. +IndentWidth: 4 +TabWidth: 4 +UseCRLF: false +UseTab: true +... +