From 6757d99ba99d4abfbbbc54fd9841aacf6243b03b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 27 Mar 2020 16:01:34 +0100 Subject: Some fixes here and there --- .config/nvim/init.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.config/nvim/init.vim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index c322576..fd2403c 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -184,8 +184,9 @@ augroup END let g:ale_pattern_options = { \ '\.c$': {'ale_linters': ['clangtidy'], 'ale_fixers': ['clang-format']}, \ '\.h$': {'ale_linters': ['clangtidy'], 'ale_fixers': ['clang-format']}, -\ '\.asm$': {'ale_linters': [], 'ale_fixers': ['trim_whitespace']}, +\ '\.asm$': {'ale_linters': ['gcc'], 'ale_fixers': ['trim_whitespace']}, \ '\.clj$': {'ale_linters': ['joker'], 'ale_fixers': []}, +\ '\.sh$': {'ale_linters': ['shellcheck'], 'ale_fixers': ['shfmt']}, \} let g:ale_pattern_options_enabled = 1 @@ -199,7 +200,9 @@ augroup ft_files au FileType cpp let b:auto_save=1 au FileType clojure let b:auto_save=1 au FileType clojure nmap F :Cljfmt - au FileType clojure RainbowParenthesesToggle + au FileType clojure RainbowParenthesesLoadRound + au FileType clojure RainbowParenthesesActivate + au FileType asm set ft=nasm augroup END " File explorer -- cgit v1.2.3