From a73334c8f0a7054d3d1aef2ffe9133b037fbb515 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 11 Mar 2025 11:18:40 +0100 Subject: [PATCH] vim: Disable spell checking in .clang-format Find's a bunch of false positives. TODO: --- .config/vim/ftdetect/clang-format.vim | 1 + .config/vim/ftplugin/clang-format.vim | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .config/vim/ftdetect/clang-format.vim create mode 100644 .config/vim/ftplugin/clang-format.vim diff --git a/.config/vim/ftdetect/clang-format.vim b/.config/vim/ftdetect/clang-format.vim new file mode 100644 index 0000000..6092fe6 --- /dev/null +++ b/.config/vim/ftdetect/clang-format.vim @@ -0,0 +1 @@ +autocmd BufNewFile,BufRead .clang-format set filetype=yaml.clang-format diff --git a/.config/vim/ftplugin/clang-format.vim b/.config/vim/ftplugin/clang-format.vim new file mode 100644 index 0000000..54a535f --- /dev/null +++ b/.config/vim/ftplugin/clang-format.vim @@ -0,0 +1,2 @@ +" TODO: continue to check in comments +setlocal nospell