- Just copied matlab syntax file and modified it for nushell
- Use nushell lsp language server (need lsp sublime package)
- In sublime text install the LSP package.
- 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)
}
- In sublime, open
Preferences > Customize Color Scheme
and add the contents ofsublime-color-scheme
. Modify to your liking.
If you need to update nushell functions or add your custom commands and aliases, run:
chmod +x export.nu
./export.nu