Skip to content

crystal-lang-tools/zed-crystal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crystal Lang Support for Zed

Uses the Crystal lang tree-sitter found at crystal-lang-tools/tree-sitter-crystal, which is mostly complete, and can parse the majority of Crystal's own source code without errors.

Also uses Crystalline for LSP functionality, if it is available in $PATH.

Extension Settings

To use the Crystal formatter directly instead of using the language server for formatting—for example, if a language server isn't available—copy the following into Zed's settings file:

"languages": {
  "Crystal": {
    "formatter": {
      "external": {
        "command": "crystal",
        "arguments": [
          "tool",
          "format",
          "-"
        ]
      }
    }
  }
}

To disable Crystalline, copy the following:

"languages": {
  "Crystal": {
    "enable_language_server": false,
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •