Further ALE config
This commit is contained in:
parent
2c5d0d78ce
commit
f13c93f025
8
vimrc
8
vimrc
|
@ -56,8 +56,9 @@ map <right> <nop>
|
||||||
nnoremap <Leader>p `[v`]
|
nnoremap <Leader>p `[v`]
|
||||||
nnoremap Q @@
|
nnoremap Q @@
|
||||||
" Skip to next linter problems:
|
" Skip to next linter problems:
|
||||||
nmap <silent> <leader>an :ALENext<cr>
|
nmap <silent> <leader>an :ALENextWrap<cr>
|
||||||
nmap <silent> <leader>ap :ALEPrevious<cr>
|
nmap <silent> <leader>ap :ALEPreviousWrap<cr>
|
||||||
|
nmap <silent> <leader>ad :ALEDetail<cr>
|
||||||
|
|
||||||
" Markdown configuration:
|
" Markdown configuration:
|
||||||
autocmd FileType markdown setlocal wrap linebreak
|
autocmd FileType markdown setlocal wrap linebreak
|
||||||
|
@ -109,3 +110,6 @@ let g:ale_rust_cargo_use_clippy = 0
|
||||||
let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular'
|
let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular'
|
||||||
let g:ale_command_wrapper = 'nice -n5'
|
let g:ale_command_wrapper = 'nice -n5'
|
||||||
let g:ale_completion_enabled = 1
|
let g:ale_completion_enabled = 1
|
||||||
|
let g:ale_close_preview_on_insert = 1
|
||||||
|
let g:ale_hover_to_preview = 1
|
||||||
|
let g:ale_sign_column_always = 1
|
||||||
|
|
Loading…
Reference in New Issue