Skip to content

kurokirasama/nushell_sublime_syntax

Repository files navigation

Nushell syntax highlight for sublime text

  • Just copied matlab syntax file and modified it for nushell
  • Use nushell lsp language server (need lsp sublime package)

Installation

  1. In sublime text install the LSP package.
  2. After cloning and cd-ing into the directory, in nushell run (tested in Ubuntu 20.04):
ls 
| find -v README & export & color 
| get name 
| ansi strip 
| each {|file| 
	cp -f $file (~/.config/sublime-text/Packages/User | path expand)
  }
  1. In sublime, open Preferences > Customize Color Scheme and add the contents of sublime-color-scheme. Modify to your liking.

Update commands

If you need to update nushell functions or add your custom commands and aliases, run:

chmod +x export.nu 
./export.nu 

About

Nushell syntax highlight for sublime text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published