Giter VIP home page Giter VIP logo

kak-ycmd's Introduction

Kakoune YouCompleteMe Script

This script provides YouCompleteMe support via ycmd in Kakoune.

It works for C/C++ with the clang completer, other languages are not tested yet.

Usage

To use that script, link to it in ~/.config/kak/autoload, and set options in your kakrc:

  • ycmd_path: path of the ycmd python directory, on a cloned ycmd repo, that would be $REPO/ycmd

  • ycmd_port: (defaulting to 12345) port to use for ycmd.

The cpp part of ycmd must be compiled manually, with clang support.

Ycmd completion can be enabled with ycmd-enable-autocomplete command.

To automate its activation, use a hook:

hook global WinSetOption filetype=cpp %{ ycmd-enable-autocomplete }
hook global WinSetOption filetype=(?!cpp).* %{ ycmd-disable-autocomplete }

Dependencies

  • jq for json parsing

  • OpenSSL for HMAC validation

  • base64 for key encoding.

  • curl for http access

kak-ycmd's People

Contributors

mawww avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

woo2 danr

kak-ycmd's Issues

need some help/info

I am probably doing something stupidly wrong
But I am trying to put the path to ycmd_path in the kakr b ut every combination that I tried gives me this.
Any help on how to solve this?

    ** This is the debug buffer, where debug info will be written *** 
    /home/jmw/Documents/kakoune/share/kak/kakrc:ycmd_path=/home/jmw/Documents/ycmd/ycmd/ 
   error while parsing kakrc: 
    1:1: 'source' ycmd_path=/home/jmw/Documents/ycmd/ymcd/ : no such command 

thx
jmw

Is it still working?

Tried to use this with C++ and Go. For both I got the message "completed" but no matches proposed. Being my first contact with a kak file I can't figure if I did something wrong.

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.