This commit is contained in:
parent
26c2f8421d
commit
f3757eb2fb
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue