Giter Club home page Giter Club logo

clamp's People

Contributors

bbchung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

clamp's Issues

Is there any instruction document ? Can not execute ClampStart

I use neovim and installed this plugin , but I can't found readme file . It looks like a great plugin but I don't kown how to use it. And I tried to type :ClampStart ,but it print

Error detected while processing function <SNR>46_enable_clamp..<SNR>46_request_shutdown:
line 6:
E900: Invalid job id.

Can you help me?

Channel was closed by the client

I get the following error whenever I open a cpp buffer with clamp enabled:

Error detected while processing function <SNR>25_start_clamp[4]..ClampOnTextChanged:
line 6:
Channel was closed by the client

Additionally, if I edit the file I receive the following error upon leaving insert mode:

Error detected while processing function ClampOnTextChanged:
line 6:
Invalid channel "1"

I installed clamp using vim-plug. I am running Arch linux with neovim version 0.1.7. I found some issues in other extensions related to this error, and it was suggusted that Python may be missing. I ensured that neovim was able to discover python by running :CheckHealth. It gave me the following information:

## Python 2 provider
- INFO: 'g:python_host_prog' is not set. Searching for python2 in the environment
- INFO: Executable: /usr/bin/python2
- INFO: Python2 version: 2.7.13
- INFO: python2-neovim version: 0.1.12
- SUCCESS: Latest python2-neovim is installed: 0.1.12

## Python 3 provider
- INFO: 'g:python_host_prog' is not set. Searching for python3 in the environment
- INFO: Executable: /usr/bin/python3
- INFO: Python3 version: 3.5.2
- INFO: python3-neovim version: 0.1.12
- SUCCESS: Latest python3-neovim is installed: 0.1.12

I am using deoplete (and deoplete-clang), which uses python and it is working fine.

no highlights, can't rename

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"

Clamp does not work. No error

I have let g:clamp_libclang_file = '/usr/lib/libclang.so' in my vimrc. But :ClampStart does not give any output and it seems I don't have any highlight in my C++ files. Any advice on how to debug the problems? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.