mawww / kak-ycmd

YouCompleteMe support script for Kakoune
13 stars 2 forks source link

need some help/info #2

Open jmwatte opened 8 years ago

jmwatte commented 8 years ago

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

mawww commented 8 years ago

Hello, you need set global ycmd_path /home/jmw/Documents/ycmd/ymcd/

Options are always scoped, you can have value in global, buffer, and window scope, each override the previous one. In the case of ycmd_path you likely want the same value everywhere, hence the global scope.