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