" Enable completion where available. " This setting must be set before ALE is loaded. " " You should not turn this setting on if you wish to use ALE as a completion " source for other completion plugins, like Deoplete. packadd! ale " Enable ale completion let g:ale_completion_enabled = 1 set omnifunc=ale#completion#OmniFunc " Enable some ale fixers globally let g:ale_fixers = { \ '*': ['remove_trailing_lines', 'trim_whitespace'], \} " fix when save let g:ale_fix_on_save=1 nmap (ale_previous_wrap) nmap (ale_next_wrap) nmap gh (ale_hover) nmap d (ale_detail) nmap x (ale_fix) nmap g (ale_go_to_definition_in_tab) nmap r (ale_find_references) let g:ale_floating_preview=1 let g:ale_floating_window_border=['│', '─', '╭', '╮', '╯', '╰', '│', '─'] let g:ale_hover_to_floating_preview=1