+7
-1
lines changedFilter options
+7
-1
lines changed Original file line number Diff line number Diff line change
@@ -119,7 +119,13 @@ local extension = {
119
119
tcc = "cpp",
120
120
hxx = "cpp",
121
121
hpp = "cpp",
122
-
cpp = function()
122
+
cpp = function(path, bufnr)
123
+
if vim.g.cynlib_syntax_for_cc then
124
+
return "cynlib"
125
+
end
126
+
return "cpp"
127
+
end,
128
+
cc = function(path, bufnr)
123
129
if vim.g.cynlib_syntax_for_cc then
124
130
return "cynlib"
125
131
end
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4