Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kurokirasama/nushell_sublime_syntax

Nushell syntax highlight for sublime text
https://github.com/kurokirasama/nushell_sublime_syntax

Last synced: 14 days ago
JSON representation

Nushell syntax highlight for sublime text

Awesome Lists containing this project

README

        

# 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):
```nu
ls
| find -v README & export & color
| get name
| ansi strip
| each {|file|
cp -f $file (~/.config/sublime-text/Packages/User | path expand)
}
```
3. 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:
```nu
chmod +x export.nu
./export.nu
```