Skip to content

Commit

Permalink
fact(highlight)!: remove easymotion support
Browse files Browse the repository at this point in the history
support was actually removed in 5ed8081
  • Loading branch information
theol0403 committed Jul 26, 2023
1 parent 2504746 commit 161371e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,9 @@ end
```

To conditionally activate plugins, `vim-plug` has a
[few solutions](https://github.com/junegunn/vim-plug/wiki/tips#conditional-activation). For example, using the `Cond`
helper, you can conditionally activate installed plugins
([source](https://github.com/asvetliakov/vscode-neovim/issues/415#issuecomment-715533865)):

```vim
" inside plug#begin:
" use normal easymotion when in VIM mode
Plug 'easymotion/vim-easymotion', Cond(!exists('g:vscode'))
" use VSCode easymotion when in VSCode mode
Plug 'asvetliakov/vim-easymotion', Cond(exists('g:vscode'), { 'as': 'vsc-easymotion' })
```

See [plugins](https://github.com/vscode-neovim/vscode-neovim/wiki/Plugins) in the wiki for tips on configuring VIM
plugins.
[few solutions](https://github.com/junegunn/vim-plug/wiki/tips#conditional-activation). `packer.nvim` and `lazy.nvim`
have built-in support for `cond = vim.g.vscode`. See
[plugins](https://github.com/vscode-neovim/vscode-neovim/wiki/Plugins) in the wiki for tips on configuring VIM plugins.

### VSCode configuration

Expand Down
5 changes: 0 additions & 5 deletions vim/vscode-neovim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ function! VSCodeClearUndo(bufId)
endfunction


" Set text decorations for given ranges. Used in easymotion
function! VSCodeSetTextDecorations(hlName, rowsCols)
call VSCodeExtensionNotify('text-decorations', a:hlName, a:rowsCols)
endfunction

" This is called by extension when created new buffer
function! s:onBufEnter(name, id)
if exists('b:vscode_temp') && b:vscode_temp
Expand Down

0 comments on commit 161371e

Please sign in to comment.