From 9bb04c593aacc0a25749f96153f8bfb64d1d7e3d Mon Sep 17 00:00:00 2001 From: Ryan Kes <> Date: Thu, 27 Aug 2020 17:40:43 +0200 Subject: [PATCH] added more ale fixers --- neovim/.config/nvim/init.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index c02ad0c..c812ba0 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -98,9 +98,9 @@ " Key Mappings { " Switch between different windows by their direction - no j| "switching to below window + no j| "switching to below window no k| "switching to above window - no l| "switching to right window + no l| "switching to right window no h| "switching to left window " More convenient leaders @@ -190,7 +190,7 @@ let g:ale_sign_warning = '⚠️' " Fix files - let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'javascript': ['prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports']} + let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'javascript': ['importjs', 'prettier', 'eslint'], 'sh': ['shfmt'], 'json': ['prettier'], 'go': ['gofmt', 'goimports'], 'markdown': ['prettier', 'remark-lint', 'textlint'], 'rust': ['rustfmt']} " Fix files automatically on save let g:ale_fix_on_save = 1 @@ -226,6 +226,6 @@ nnoremap H :Helptags nnoremap hh :History nnoremap h: :History: - nnoremap h/ :History/ + nnoremap h/ :History/ " } " }