Skip to content

Instantly share code, notes, and snippets.

@Janiczek
Created January 20, 2024 17:53
Show Gist options
  • Save Janiczek/bff70b3fc7a91358149eb905683d7609 to your computer and use it in GitHub Desktop.
Save Janiczek/bff70b3fc7a91358149eb905683d7609 to your computer and use it in GitHub Desktop.
Elm errors in the editor
" ALE
let g:ale_linters = {
\ 'elm': ['make'],
\ }
Plug 'dense-analysis/ale'
Plug 'blueyed/vim-qf_resize'
let g:ale_linters_explicit = 1
let g:ale_open_list = 1
let g:ale_sign_column_always = 1
noremap <Leader>[ :ALEPreviousWrap<cr>
noremap <Leader>] :ALENextWrap<cr>
noremap <Leader>\ :ALEDetail<cr>
augroup LocationListNowrap
autocmd!
autocmd FileType qf setlocal nowrap
augroup END
" Resize quickfix/locationlist window when `<C-w> =` -ing
" nnoremap <silent> <c-w>= :wincmd =<cr>:QfResizeWindows<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment