bbchung / clamp Goto Github PK
View Code? Open in Web Editor NEWclighter for neovim
License: GNU General Public License v3.0
clighter for neovim
License: GNU General Public License v3.0
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?
ClighterShowInfo can tell current file compile flags which helps debug, could Clamp provides similar function ?
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.
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"
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.