diff options
| -rw-r--r-- | lua/nvim-treesitter/shell_command_selectors.lua | 1 | ||||
| -rw-r--r-- | queries/haskell/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/purescript/highlights.scm | 12 |
3 files changed, 8 insertions, 7 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index c215aa77f..96ad6acc4 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -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 diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm index 9cb4c8104..a75dd0119 100644 --- a/queries/haskell/highlights.scm +++ b/queries/haskell/highlights.scm @@ -84,7 +84,7 @@ ; Keywords, operators, includes [ "forall" - ; "∀" ; utf-8 is not cross-platform safe + "∀" ] @keyword.repeat (pragma) @keyword.directive diff --git a/queries/purescript/highlights.scm b/queries/purescript/highlights.scm index c14ded077..ae9e930ca 100644 --- a/queries/purescript/highlights.scm +++ b/queries/purescript/highlights.scm @@ -58,15 +58,15 @@ "=" "|" "::" - ; "∷" + "∷" "=>" - ; "⇒" + "⇒" "<=" - ; "⇐" + "⇐" "->" - ; "→" + "→" "<-" - ; "←" + "←" "\\" "`" "@" @@ -102,7 +102,7 @@ "do" "ado" "forall" - ; "∀" ; utf-8 is not cross-platform safe + "∀" "infix" "infixl" "infixr" |
