diff options
m--------- | pack/_all/opt/jedi-vim | 0 | ||||
m--------- | pack/_all/opt/nerdtree | 0 | ||||
m--------- | pack/_all/opt/ultisnips | 0 | ||||
m--------- | pack/_all/opt/vim-signify | 0 | ||||
m--------- | pack/_all/opt/vim-snippets | 0 | ||||
m--------- | pack/_all/opt/zeavim.vim | 0 | ||||
m--------- | pack/_all/start/papercolor-theme | 0 | ||||
m--------- | pack/_all/start/vim-fugitive | 0 | ||||
m--------- | pack/_all/start/vim-surround | 0 | ||||
m--------- | pack/neovim/opt/ale | 0 | ||||
m--------- | pack/neovim/opt/deoplete.nvim | 0 | ||||
m--------- | pack/neovim/opt/echodoc.vim | 0 | ||||
m--------- | pack/vim/opt/YouCompleteMe | 0 | ||||
m--------- | pack/vim/opt/syntastic | 0 | ||||
m--------- | pack/vim/opt/vimtex | 0 | ||||
-rw-r--r-- | plugin/max-fix-colorschemes.vim | 8 | ||||
-rw-r--r-- | plugin/max-highlight-word-under-cursor.vim | 8 | ||||
-rw-r--r-- | utils/update.sh | 1 |
18 files changed, 14 insertions, 3 deletions
diff --git a/pack/_all/opt/jedi-vim b/pack/_all/opt/jedi-vim | |||
Subproject f26b2a8802ad47406a0ab1e7b68234fa22d8889 | Subproject 89c995e7d964fb71c715e6f4ac330e4c59b4412 | ||
diff --git a/pack/_all/opt/nerdtree b/pack/_all/opt/nerdtree | |||
Subproject 7513f256aa1d59b6a749cefe5ac505375b1b8a6 | Subproject 9193962ad88f15d9f426c3cfb8a274ff1dd0c5b | ||
diff --git a/pack/_all/opt/ultisnips b/pack/_all/opt/ultisnips | |||
Subproject 6fdc3647f72e0a1f321ea6bd092ecd01f7c187b | Subproject 1a99766b73783bafb08cfa07d7e29e5387c5518 | ||
diff --git a/pack/_all/opt/vim-signify b/pack/_all/opt/vim-signify | |||
Subproject 192d5734b18a3534e6db971036854ad0c4b2c58 | Subproject 2b5070441dea482cc4f88556b19002f2da6f356 | ||
diff --git a/pack/_all/opt/vim-snippets b/pack/_all/opt/vim-snippets | |||
Subproject cbbf1559166f9c308ae0f4634c11bdf282ddafb | Subproject db67e54d5998dbfbe9fe4161a29d74323031b1f | ||
diff --git a/pack/_all/opt/zeavim.vim b/pack/_all/opt/zeavim.vim | |||
Subproject 6db8d84528d66ce6638db03c2864abfa8afa02a | Subproject 298e52ad683680b4aa19b53d009cf0e6b919766 | ||
diff --git a/pack/_all/start/papercolor-theme b/pack/_all/start/papercolor-theme | |||
Subproject 6f34e06ac4b3e1ac7c5755a0216791066fbe74c | Subproject 20f3b25cdd772d4483eb8ced453f94f93b6126e | ||
diff --git a/pack/_all/start/vim-fugitive b/pack/_all/start/vim-fugitive | |||
Subproject bd0b87d36ad80e8acd94f22028d15ebb441b1c2 | Subproject 1d8c0a38b2fc4ce9ca4204676573b6335725ff7 | ||
diff --git a/pack/_all/start/vim-surround b/pack/_all/start/vim-surround | |||
Subproject ca58a2d886cc18734c90c9665da4775d444b0c0 | Subproject fab8621670f71637e9960003af28365129b1dfd | ||
diff --git a/pack/neovim/opt/ale b/pack/neovim/opt/ale | |||
Subproject 32c8bd1fa4629d52df27103fcf18d59c5d16b34 | Subproject e3784c4c4ebb86bc0cdac3652b4f7e4b38ac554 | ||
diff --git a/pack/neovim/opt/deoplete.nvim b/pack/neovim/opt/deoplete.nvim | |||
Subproject d7ad459921937c8ded77e0e9c641ba7f7934ce1 | Subproject 98566131d5f574ee2896138bdda08afa68bda41 | ||
diff --git a/pack/neovim/opt/echodoc.vim b/pack/neovim/opt/echodoc.vim | |||
Subproject 0b2e6e1c40691b6ebc4ac3f9efe0e9e73debb1c | Subproject c12d2e683fb749f9c0d4a099d894baa3d9d5f33 | ||
diff --git a/pack/vim/opt/YouCompleteMe b/pack/vim/opt/YouCompleteMe | |||
Subproject 25ebc0b9abb1b135c809ee850085a0305cbc553 | Subproject bdbfdd938fe711ff75155546fc0a0e0bebcb952 | ||
diff --git a/pack/vim/opt/syntastic b/pack/vim/opt/syntastic | |||
Subproject 1089ee5212b833d73c96ca93773b9eca1a0f721 | Subproject 0336c35c0b10b46d85cdd9c3df721f978429e82 | ||
diff --git a/pack/vim/opt/vimtex b/pack/vim/opt/vimtex | |||
Subproject ae420204f1632db7c7b93007fb2e193d44061f0 | Subproject d3a9a1daf097d75195da3ea2a7b95c5f30cb5f4 | ||
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 @@ | |||
1 | "======================================================================================================================= | 1 | "======================================================================================================================= |
2 | " COLOR SCHEME: | 2 | " COLOR SCHEME: |
3 | "======================================================================================================================= | 3 | "======================================================================================================================= |
4 | |||
5 | if &term == "linux" | ||
6 | set notermguicolors | ||
7 | else | ||
8 | set termguicolors | ||
9 | endif | ||
10 | |||
11 | |||
4 | function! ExtendColorTheme() | 12 | function! ExtendColorTheme() |
5 | highlight! Bold cterm=bold gui=bold | 13 | highlight! Bold cterm=bold gui=bold |
6 | highlight! Italic cterm=italic gui=italic | 14 | 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() | |||
11 | let l:currentword = escape(expand('<cword>'), '.') | 11 | let l:currentword = escape(expand('<cword>'), '.') |
12 | if(strlen(l:currentword) > 0) | 12 | if(strlen(l:currentword) > 0) |
13 | let w:m1=100 | 13 | let w:m1=100 |
14 | if(match(expand('<cWORD>'), '^#\x\{6\}') == 0) | 14 | let l:q = matchstr(expand('<cword>'), '\x\{6\}') |
15 | exec 'highlight! CurrentColor guibg='.expand('<cWORD>') | 15 | if(l:q != "") |
16 | exec 'highlight! CurrentColor guibg=#'.l:q | ||
17 | " call matchadd('CurrentColor', escape(expand('<cWORD>'), '.'), -1, w:m1) | ||
18 | " if(match(expand('<cword>'), '^#\x\{6\}\|^0x\x\{6\}') == 0) | ||
16 | hi CurrentColor | 19 | hi CurrentColor |
17 | " silent! call matchadd('CurrentColor', escape(expand('<cWORD>'), '.'), -1, w:m1) | ||
18 | else | 20 | else |
19 | silent! call matchadd('Underline', '\<'.l:currentword.'\>', -1, w:m1) | 21 | silent! call matchadd('Underline', '\<'.l:currentword.'\>', -1, w:m1) |
20 | endif | 22 | 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 | |||