From d6360cd90fd84aff02a617287b019593e9020651 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 16 May 2020 20:10:41 +0200 Subject: Preparing configs for googles kickstart comp! (yes, I'll be using cpp) --- .config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) (limited to '.config/nvim/init.vim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b4d657c..12cb075 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -206,6 +206,7 @@ augroup VimDiff augroup END let g:ale_pattern_options = { \ '\.c$': {'ale_linters': ['clangtidy'], 'ale_fixers': ['clang-format']}, +\ '\.cpp$': {'ale_linters': ['clangtidy'], 'ale_fixers': ['clang-format']}, \ '\.h$': {'ale_linters': ['clangtidy'], 'ale_fixers': ['clang-format']}, \ '\.asm$': {'ale_linters': ['gcc'], 'ale_fixers': ['trim_whitespace']}, \ '\.clj$': {'ale_linters': ['joker'], 'ale_fixers': []}, -- cgit v1.2.3