mawww / kak-ycmd

YouCompleteMe support script for Kakoune
13 stars 2 forks source link

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:

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