From 9b2e2c388087f8c969b13b262a3afc266741905c Mon Sep 17 00:00:00 2001 From: McDax Date: Mon, 13 May 2024 14:01:42 +0200 Subject: [PATCH] Add C++ configuration --- lua/ts_context_commentstring/config.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/ts_context_commentstring/config.lua b/lua/ts_context_commentstring/config.lua index a3e852a..c51a405 100644 --- a/lua/ts_context_commentstring/config.lua +++ b/lua/ts_context_commentstring/config.lua @@ -61,6 +61,7 @@ M.config = { -- Languages that have a single comment style astro = '', c = { __default = '// %s', __multiline = '/* %s */' }, + cpp = { __default = '// %s', __multiline = '/* %s */' }, css = '/* %s */', gleam = '// %s', glimmer = '{{! %s }}',