A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/c38d602b888a95a4b3b7a3b4241ce5b3e434eb35 below:

fix .cc file not detected · neovim/neovim@c38d602 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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