mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
fix(compile): add /utf-8 flag on win+cl
This commit is contained in:
parent
bfa217af76
commit
497208692f
3 changed files with 8 additions and 7 deletions
|
|
@ -91,6 +91,7 @@ function M.select_compiler_args(repo, compiler)
|
||||||
"/Isrc",
|
"/Isrc",
|
||||||
repo.files,
|
repo.files,
|
||||||
"-Os",
|
"-Os",
|
||||||
|
"/utf-8",
|
||||||
"/LD",
|
"/LD",
|
||||||
}
|
}
|
||||||
elseif string.match(compiler, "zig$") or string.match(compiler, "zig.exe$") then
|
elseif string.match(compiler, "zig$") or string.match(compiler, "zig.exe$") then
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@
|
||||||
; Keywords, operators, includes
|
; Keywords, operators, includes
|
||||||
[
|
[
|
||||||
"forall"
|
"forall"
|
||||||
; "∀" ; utf-8 is not cross-platform safe
|
"∀"
|
||||||
] @keyword.repeat
|
] @keyword.repeat
|
||||||
|
|
||||||
(pragma) @keyword.directive
|
(pragma) @keyword.directive
|
||||||
|
|
|
||||||
|
|
@ -58,15 +58,15 @@
|
||||||
"="
|
"="
|
||||||
"|"
|
"|"
|
||||||
"::"
|
"::"
|
||||||
; "∷"
|
"∷"
|
||||||
"=>"
|
"=>"
|
||||||
; "⇒"
|
"⇒"
|
||||||
"<="
|
"<="
|
||||||
; "⇐"
|
"⇐"
|
||||||
"->"
|
"->"
|
||||||
; "→"
|
"→"
|
||||||
"<-"
|
"<-"
|
||||||
; "←"
|
"←"
|
||||||
"\\"
|
"\\"
|
||||||
"`"
|
"`"
|
||||||
"@"
|
"@"
|
||||||
|
|
@ -102,7 +102,7 @@
|
||||||
"do"
|
"do"
|
||||||
"ado"
|
"ado"
|
||||||
"forall"
|
"forall"
|
||||||
; "∀" ; utf-8 is not cross-platform safe
|
"∀"
|
||||||
"infix"
|
"infix"
|
||||||
"infixl"
|
"infixl"
|
||||||
"infixr"
|
"infixr"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue