Skip to content

Commit

Permalink
Stop using vim-online-thesaurus
Browse files Browse the repository at this point in the history
This plugin hasn't been working for a while because of changes made to
thesaurus.com.

See <beloglazov/vim-online-thesaurus#43>.
  • Loading branch information
meribold committed Apr 11, 2020
1 parent fc03a35 commit ccffbe3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@
[submodule "home/vim/pack/meribold/opt/vim-man"]
path = home/vim/pack/meribold/opt/vim-man
url = https://github.com/vim-utils/vim-man.git
[submodule "home/vim/pack/meribold/opt/vim-online-thesaurus"]
path = home/vim/pack/meribold/opt/vim-online-thesaurus
url = https://github.com/beloglazov/vim-online-thesaurus.git
[submodule "home/vim/pack/meribold/opt/vim-dict"]
path = home/vim/pack/meribold/opt/vim-dict
url = https://github.com/szw/vim-dict.git
Expand Down
3 changes: 1 addition & 2 deletions home/vim/common.vim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if !has('nvim')
endif

if has('unix')
packadd! vim-online-thesaurus
packadd! vim-dict
endif

Expand Down Expand Up @@ -830,7 +829,7 @@ nnoremap <silent> <Leader>U :Gwrite<CR>
" Either way, using the <expr> special argument seems like a much better approach that
" avoids this mess. See :h <expr> and :h expression-syntax.
function! s:OnEnter()
let filetypes = [ 'man', 'thesaurus' ]
let filetypes = [ 'man' ]
if empty(&buftype) || &buftype ==# 'help' || index(filetypes, &filetype) != -1
return ':noh | echo'
else
Expand Down
1 change: 0 additions & 1 deletion home/vim/pack/meribold/opt/vim-online-thesaurus
Submodule vim-online-thesaurus deleted from 09787b

0 comments on commit ccffbe3

Please sign in to comment.