From 0e6f007028d06557404a4785189aafb7be16f170 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Thu, 3 Jun 2021 15:07:50 +0200 Subject: LSP: add clangd as server for c/c++ --- languages.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/languages.toml b/languages.toml index 6b80763f..143a7c27 100644 --- a/languages.toml +++ b/languages.toml @@ -42,6 +42,7 @@ injection-regex = "c" file-types = ["c"] # TODO: ["h"] roots = [] +language-server = { command = "clangd" } indent = { tab-width = 2, unit = " " } [[language]] @@ -51,6 +52,7 @@ injection-regex = "cpp" file-types = ["cc", "cpp", "hpp", "h"] roots = [] +language-server = { command = "clangd" } indent = { tab-width = 2, unit = " " } [[language]] -- cgit v1.2.3-70-g09d2