From 0576214be77e6f6bcfedd9a4646f0b0cd1b1b797 Mon Sep 17 00:00:00 2001 From: Pseudomata Date: Fri, 26 Jan 2024 15:35:08 -0500 Subject: [PATCH] Remove Haskell `injections.scm` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since tree-sitter-haskell does not support injections we don’t want to mix with nvim-treesitter --- .../zed/src/languages/haskell/injections.scm | 62 ------------------- 1 file changed, 62 deletions(-) delete mode 100644 crates/zed/src/languages/haskell/injections.scm diff --git a/crates/zed/src/languages/haskell/injections.scm b/crates/zed/src/languages/haskell/injections.scm deleted file mode 100644 index e5e70a7c0b..0000000000 --- a/crates/zed/src/languages/haskell/injections.scm +++ /dev/null @@ -1,62 +0,0 @@ -;; Copyright 2022 nvim-treesitter -;; -;; Licensed under the Apache License, Version 2.0 (the "License"); -;; you may not use this file except in compliance with the License. -;; You may obtain a copy of the License at -;; -;; http://www.apache.org/licenses/LICENSE-2.0 -;; -;; Unless required by applicable law or agreed to in writing, software -;; distributed under the License is distributed on an "AS IS" BASIS, -;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -;; See the License for the specific language governing permissions and -;; limitations under the License. -; ----------------------------------------------------------------------------- -; General language injection -(quasiquote - (quoter) @injection.language - (quasiquote_body) @injection.content) - -; CSS: Text.Cassius, Text.Lucius -(quasiquote - (quoter) @_name - (#any-of? @_name "cassius" "lucius") - (quasiquote_body) @injection.content - (#set! "language" "css")) - -; HTML: Text.Hamlet -(quasiquote - (quoter) @_name - (#any-of? @_name "shamlet" "xshamlet" "hamlet" "xhamlet" "ihamlet") - (quasiquote_body) @injection.content - (#set! "language" "html")) - -; JS: Text.Julius -(quasiquote - (quoter) @_name - (#any-of? @_name "js" "julius") - (quasiquote_body) @injection.content - (#set! "language" "javascript")) - -; TS: Text.TypeScript -(quasiquote - (quoter) @_name - (#any-of? @_name "tsc" "tscJSX") - (quasiquote_body) @injection.content - (#set! "language" "typescript")) - -; ----------------------------------------------------------------------------- -; HSX -(quasiquote - (quoter) @_name - (#eq? @_name "hsx") - (quasiquote_body) @injection.content - (#set! "language" "html")) - -; ----------------------------------------------------------------------------- -; Inline JSON from aeson -(quasiquote - (quoter) @_name - (#eq? @_name "aesonQQ") - (quasiquote_body) @injection.content - (#set! "language" "json"))