aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r--.config/nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
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': []},