mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -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",
|
||||
repo.files,
|
||||
"-Os",
|
||||
"/utf-8",
|
||||
"/LD",
|
||||
}
|
||||
elseif string.match(compiler, "zig$") or string.match(compiler, "zig.exe$") then
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
; Keywords, operators, includes
|
||||
[
|
||||
"forall"
|
||||
; "∀" ; utf-8 is not cross-platform safe
|
||||
"∀"
|
||||
] @keyword.repeat
|
||||
|
||||
(pragma) @keyword.directive
|
||||
|
|
|
|||
|
|
@ -58,15 +58,15 @@
|
|||
"="
|
||||
"|"
|
||||
"::"
|
||||
; "∷"
|
||||
"∷"
|
||||
"=>"
|
||||
; "⇒"
|
||||
"⇒"
|
||||
"<="
|
||||
; "⇐"
|
||||
"⇐"
|
||||
"->"
|
||||
; "→"
|
||||
"→"
|
||||
"<-"
|
||||
; "←"
|
||||
"←"
|
||||
"\\"
|
||||
"`"
|
||||
"@"
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
"do"
|
||||
"ado"
|
||||
"forall"
|
||||
; "∀" ; utf-8 is not cross-platform safe
|
||||
"∀"
|
||||
"infix"
|
||||
"infixl"
|
||||
"infixr"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue