From 51bc355c0b0ec261cd776278905b057d9951e2a5 Mon Sep 17 00:00:00 2001 From: Joe Schaefer Date: Tue, 13 Apr 2021 22:59:33 -0400 Subject: [PATCH] Win10 Emacs + WSL ccls --- FAQ.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FAQ.md b/FAQ.md index c655421..bba48d9 100644 --- a/FAQ.md +++ b/FAQ.md @@ -362,3 +362,6 @@ ln -s debug/compile_commands.json Note: ccls can serve LSP requests while it is doing the initial indexing of the project. + + +# Be happy. Run Emacs as a native Windows binary, and compile ccls on Ubuntu-20.04 (WSL) with -D_WIN32 set in lsp.cc (top of source file). Put a ccls.bat script with one line in it: "powershell wsl ccls %*". Then add a /wsl$/Ubuntu-20.04 symlink back to /. Enjoy! \ No newline at end of file