From 6a1f77b32224bb86c50c687ea1f8f70cf4b440a0 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Fri, 20 Sep 2019 00:28:01 +0200 Subject: Major version update --- pack/_all/opt/jedi-vim | 2 +- pack/_all/opt/nerdtree | 2 +- pack/_all/opt/ultisnips | 2 +- pack/_all/opt/vim-signify | 2 +- pack/_all/opt/vim-snippets | 2 +- pack/_all/opt/zeavim.vim | 2 +- pack/_all/start/papercolor-theme | 2 +- pack/_all/start/vim-fugitive | 2 +- pack/_all/start/vim-surround | 2 +- pack/neovim/opt/ale | 2 +- pack/neovim/opt/deoplete.nvim | 2 +- pack/neovim/opt/echodoc.vim | 2 +- pack/vim/opt/YouCompleteMe | 2 +- pack/vim/opt/syntastic | 2 +- pack/vim/opt/vimtex | 2 +- plugin/max-fix-colorschemes.vim | 8 ++++++++ plugin/max-highlight-word-under-cursor.vim | 8 +++++--- utils/update.sh | 1 + 18 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 utils/update.sh diff --git a/pack/_all/opt/jedi-vim b/pack/_all/opt/jedi-vim index f26b2a8..89c995e 160000 --- a/pack/_all/opt/jedi-vim +++ b/pack/_all/opt/jedi-vim @@ -1 +1 @@ -Subproject commit f26b2a8802ad47406a0ab1e7b68234fa22d88891 +Subproject commit 89c995e7d964fb71c715e6f4ac330e4c59b44128 diff --git a/pack/_all/opt/nerdtree b/pack/_all/opt/nerdtree index 7513f25..9193962 160000 --- a/pack/_all/opt/nerdtree +++ b/pack/_all/opt/nerdtree @@ -1 +1 @@ -Subproject commit 7513f256aa1d59b6a749cefe5ac505375b1b8a6a +Subproject commit 9193962ad88f15d9f426c3cfb8a274ff1dd0c5b2 diff --git a/pack/_all/opt/ultisnips b/pack/_all/opt/ultisnips index 6fdc364..1a99766 160000 --- a/pack/_all/opt/ultisnips +++ b/pack/_all/opt/ultisnips @@ -1 +1 @@ -Subproject commit 6fdc3647f72e0a1f321ea6bd092ecd01f7c187ba +Subproject commit 1a99766b73783bafb08cfa07d7e29e5387c55189 diff --git a/pack/_all/opt/vim-signify b/pack/_all/opt/vim-signify index 192d573..2b50704 160000 --- a/pack/_all/opt/vim-signify +++ b/pack/_all/opt/vim-signify @@ -1 +1 @@ -Subproject commit 192d5734b18a3534e6db971036854ad0c4b2c586 +Subproject commit 2b5070441dea482cc4f88556b19002f2da6f3566 diff --git a/pack/_all/opt/vim-snippets b/pack/_all/opt/vim-snippets index cbbf155..db67e54 160000 --- a/pack/_all/opt/vim-snippets +++ b/pack/_all/opt/vim-snippets @@ -1 +1 @@ -Subproject commit cbbf1559166f9c308ae0f4634c11bdf282ddafba +Subproject commit db67e54d5998dbfbe9fe4161a29d74323031b1fa diff --git a/pack/_all/opt/zeavim.vim b/pack/_all/opt/zeavim.vim index 6db8d84..298e52a 160000 --- a/pack/_all/opt/zeavim.vim +++ b/pack/_all/opt/zeavim.vim @@ -1 +1 @@ -Subproject commit 6db8d84528d66ce6638db03c2864abfa8afa02aa +Subproject commit 298e52ad683680b4aa19b53d009cf0e6b9197664 diff --git a/pack/_all/start/papercolor-theme b/pack/_all/start/papercolor-theme index 6f34e06..20f3b25 160000 --- a/pack/_all/start/papercolor-theme +++ b/pack/_all/start/papercolor-theme @@ -1 +1 @@ -Subproject commit 6f34e06ac4b3e1ac7c5755a0216791066fbe74c8 +Subproject commit 20f3b25cdd772d4483eb8ced453f94f93b6126e1 diff --git a/pack/_all/start/vim-fugitive b/pack/_all/start/vim-fugitive index bd0b87d..1d8c0a3 160000 --- a/pack/_all/start/vim-fugitive +++ b/pack/_all/start/vim-fugitive @@ -1 +1 @@ -Subproject commit bd0b87d36ad80e8acd94f22028d15ebb441b1c28 +Subproject commit 1d8c0a38b2fc4ce9ca4204676573b6335725ff75 diff --git a/pack/_all/start/vim-surround b/pack/_all/start/vim-surround index ca58a2d..fab8621 160000 --- a/pack/_all/start/vim-surround +++ b/pack/_all/start/vim-surround @@ -1 +1 @@ -Subproject commit ca58a2d886cc18734c90c9665da4775d444b0c04 +Subproject commit fab8621670f71637e9960003af28365129b1dfd0 diff --git a/pack/neovim/opt/ale b/pack/neovim/opt/ale index 32c8bd1..e3784c4 160000 --- a/pack/neovim/opt/ale +++ b/pack/neovim/opt/ale @@ -1 +1 @@ -Subproject commit 32c8bd1fa4629d52df27103fcf18d59c5d16b343 +Subproject commit e3784c4c4ebb86bc0cdac3652b4f7e4b38ac554e diff --git a/pack/neovim/opt/deoplete.nvim b/pack/neovim/opt/deoplete.nvim index d7ad459..9856613 160000 --- a/pack/neovim/opt/deoplete.nvim +++ b/pack/neovim/opt/deoplete.nvim @@ -1 +1 @@ -Subproject commit d7ad459921937c8ded77e0e9c641ba7f7934ce18 +Subproject commit 98566131d5f574ee2896138bdda08afa68bda416 diff --git a/pack/neovim/opt/echodoc.vim b/pack/neovim/opt/echodoc.vim index 0b2e6e1..c12d2e6 160000 --- a/pack/neovim/opt/echodoc.vim +++ b/pack/neovim/opt/echodoc.vim @@ -1 +1 @@ -Subproject commit 0b2e6e1c40691b6ebc4ac3f9efe0e9e73debb1cc +Subproject commit c12d2e683fb749f9c0d4a099d894baa3d9d5f330 diff --git a/pack/vim/opt/YouCompleteMe b/pack/vim/opt/YouCompleteMe index 25ebc0b..bdbfdd9 160000 --- a/pack/vim/opt/YouCompleteMe +++ b/pack/vim/opt/YouCompleteMe @@ -1 +1 @@ -Subproject commit 25ebc0b9abb1b135c809ee850085a0305cbc5533 +Subproject commit bdbfdd938fe711ff75155546fc0a0e0bebcb952a diff --git a/pack/vim/opt/syntastic b/pack/vim/opt/syntastic index 1089ee5..0336c35 160000 --- a/pack/vim/opt/syntastic +++ b/pack/vim/opt/syntastic @@ -1 +1 @@ -Subproject commit 1089ee5212b833d73c96ca93773b9eca1a0f721b +Subproject commit 0336c35c0b10b46d85cdd9c3df721f978429e82c diff --git a/pack/vim/opt/vimtex b/pack/vim/opt/vimtex index ae42020..d3a9a1d 160000 --- a/pack/vim/opt/vimtex +++ b/pack/vim/opt/vimtex @@ -1 +1 @@ -Subproject commit ae420204f1632db7c7b93007fb2e193d44061f0a +Subproject commit d3a9a1daf097d75195da3ea2a7b95c5f30cb5f4e diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim index d68c84a..c357117 100644 --- a/plugin/max-fix-colorschemes.vim +++ b/plugin/max-fix-colorschemes.vim @@ -1,6 +1,14 @@ "======================================================================================================================= " COLOR SCHEME: "======================================================================================================================= + +if &term == "linux" + set notermguicolors +else + set termguicolors +endif + + function! ExtendColorTheme() highlight! Bold cterm=bold gui=bold highlight! Italic cterm=italic gui=italic diff --git a/plugin/max-highlight-word-under-cursor.vim b/plugin/max-highlight-word-under-cursor.vim index c6d6964..f18c212 100644 --- a/plugin/max-highlight-word-under-cursor.vim +++ b/plugin/max-highlight-word-under-cursor.vim @@ -11,10 +11,12 @@ function! HighlightWordUnderCursor() let l:currentword = escape(expand(''), '.') if(strlen(l:currentword) > 0) let w:m1=100 - if(match(expand(''), '^#\x\{6\}') == 0) - exec 'highlight! CurrentColor guibg='.expand('') + let l:q = matchstr(expand(''), '\x\{6\}') + if(l:q != "") + exec 'highlight! CurrentColor guibg=#'.l:q + " call matchadd('CurrentColor', escape(expand(''), '.'), -1, w:m1) + " if(match(expand(''), '^#\x\{6\}\|^0x\x\{6\}') == 0) hi CurrentColor - " silent! call matchadd('CurrentColor', escape(expand(''), '.'), -1, w:m1) else silent! call matchadd('Underline', '\<'.l:currentword.'\>', -1, w:m1) endif diff --git a/utils/update.sh b/utils/update.sh new file mode 100644 index 0000000..875dc89 --- /dev/null +++ b/utils/update.sh @@ -0,0 +1 @@ +git submodule update --remote --checkout --recursive --force -- cgit v1.2.3