Skip to content

no highlights, can't rename #5

@5hut0

Description

@5hut0

I've switched to Neovim + clamp from vim + clighter.
it seems not to work on my end. (OS X 10.11.5, Neovim 0.1.4 has python and python3)
any highlights and can't use ClampRename.

my vimrc is like this below:

" ==============================================================================
" Clighter / Clamp
" ==============================================================================
if has('nvim')
  let g:clamp_autostart = 1
  let g:clamp_libclang_file = '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib'
  let g:clamp_heuristic_compile_args = 0
  let g:ClampOccurrences = 0
  nnoremap <silent> <Leader><C-r> :call ClampRename()<CR>
else
  " Clighter works perfect on vim
  let g:clighter_autostart = 1
  let g:clighter_libclang_file = '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib'
  let g:clighter_heuristic_compile_args = 0
  let g:ClighterOccurrences = 0
  nnoremap <silent> <Leader><C-r> :call clighter#Rename()<CR>
endif

and when I tried to do ClampRename(), error occurs.

Error detected while processing function ClampRename:
line    5:
Invalid channel "2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions