This commit is contained in:
dimooski 2020-05-31 20:06:19 +02:00
parent 26c2f8421d
commit f3757eb2fb
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
local syntax = require "core.syntax"
syntax.add {
files = { "%.c$", "%.cc$", "%.cpp$", "%.cxx$", "%.c++$", "%.h$", "%.hh$", "%.hpp$", "%.inl$" },
files = { "%.c$", "%.cc$", "%.cpp$", "%.cxx$", "%.c%+%+$", "%.h$", "%.hh$", "%.hpp$", "%.inl$" },
comment = "//",
patterns = {
{ pattern = "//.-\n", type = "comment" },