From 71aa90a66db3172e4d1272f50d1067321e141686 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 1 Jun 2021 21:17:39 +0200 Subject: vimrc --- .vim/vimrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.vim/vimrc b/.vim/vimrc index 0769d10..a3b59f8 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1,11 +1,18 @@ " =========== " VARIABLES " =========== + +" Needs to be enabled before ALE is loaded +let g:ale_completion_enabled = 1 + runtime bundle/vim-pathogen/autoload/pathogen.vim execute pathogen#infect('bundle-active/{}') set nocompatible +" Style +highlight Pmenu ctermfg=0 ctermbg=7 guibg=Magenta + " Tabs set tabstop=8 set softtabstop=8 @@ -32,12 +39,14 @@ let g:completor_clang_binary = '/usr/bin/clang' let g:rainbow_active = 1 " ALE config -let g:ale_completion_enabled = 1 let g:ale_set_highlights = 0 "Highlights are annoying let g:ale_set_signs = 1 "let g:ale_virtualtext_cursor = 1 " Only use one of the following let g:ale_cursor_detail = 1 let g:ale_close_preview_on_insert = 1 +let g:ale_floating_preview = 1 +"let g:ale_hover_to_floating_preview = 1 +let g:ale_floating_window_border = [] "All things cursor set guicursor+=a:blinkon0 "disable blinking @@ -124,6 +133,7 @@ inoremap {; {};O " completor inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" +inoremap :ALEComplete "inoremap Tab_Or_Complete() " =========== -- cgit v1.2.3