We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e4de8 commit 66e282dCopy full SHA for 66e282d
lua/orgmode/utils/treesitter/install.lua
@@ -165,6 +165,8 @@ function M.select_compiler_args(compiler)
165
'src/parser.c',
166
'src/scanner.c',
167
'-Os',
168
+ '/std:c11',
169
+ '/utf-8',
170
'/LD',
171
}
172
elseif string.match(compiler, 'zig$') or string.match(compiler, 'zig.exe$') then
@@ -178,6 +180,7 @@ function M.select_compiler_args(compiler)
178
180
'-Isrc',
179
181
'-shared',
182
183
+ '-std=c11',
184
185
else
186
local args = {
@@ -187,6 +190,7 @@ function M.select_compiler_args(compiler)
187
190
188
191
189
192
193
194
195
if vim.fn.has('mac') == 1 then
196
table.insert(args, '-bundle')
0 commit comments