Skip to content

mawww/kak-ycmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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

About

YouCompleteMe support script for Kakoune

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published