Skip to content

132ikl/topiary-nushell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add nushell support to Topiary (WIP)

Build Status

  • Topiary: tree-sitter based uniform formatter
  • This repo contains:
    • languages.ncl: configuration that enables nushell
    • nushell.scm: tree-sitter query DSL that defines the behavior of formatter for nushell
    • stand-alone tests written in nushell

setup

  1. install latest topiary-cli
  2. clone this repo to $env.XDG_CONFIG_HOME/topiary
  3. set environment variables
$env.TOPIARY_CONFIG_FILE = ($env.XDG_CONFIG_HOME | path join topiary languages.ncl)
$env.TOPIARY_LANGUAGE_DIR = ($env.XDG_CONFIG_HOME | path join topiary languages)

usage

topiary format script.nu

About

topiary formatter for nushell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nushell 77.9%
  • Scheme 14.3%
  • Nu 7.8%