X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/4e696e9d4822acb0b042c5a76862720056debd89..52469072ce9042d0f373bb3cc73563c7c722f2ab:/.vimrc diff --git a/.vimrc b/.vimrc index cc3aad51..81d94633 100644 --- a/.vimrc +++ b/.vimrc @@ -209,7 +209,7 @@ set nowrap " sidescrolloff " minimal number of columns to keep left and right of the cursor " set siso=0 -set siso=0 +set siso=1 " display " include "lastline" to show the last line even if it doesn't fit @@ -685,6 +685,7 @@ let &flp='^\v\s*(((#|\a|\d{,4}|[ivx]{,4})[]:.)}/])+|[-\*.·→+])\s+' " completeopt " whether to use a popup menu for Insert mode completion " set cot=menu,preview +set cot=menu,noinsert,popup,preview,fuzzy " pumheight " maximum height of the popup menu @@ -1527,6 +1528,15 @@ iab → ➬ iab :thumbsup: 👍️ +let g:ale_completion_enabled = 0 +let g:ale_fixers = { '*': [ "remove_trailing_lines", "trim_whitespace" ] } +let g:ale_sign_error = '>>' +let g:ale_sign_warning = '--' +let g:ale_set_loclist = 1 +let g:ale_open_list = 1 +let g:ale_virtualtext_cursor = 'current' +let g:ale_floating_window_border = repeat([''], 8) + try execute pathogen#infect() catch