https://github.com/kurokirasama/nushell_sublime_syntax
Nushell syntax highlight for sublime text
https://github.com/kurokirasama/nushell_sublime_syntax
Last synced: 13 days ago
JSON representation
Nushell syntax highlight for sublime text
- Host: GitHub
- URL: https://github.com/kurokirasama/nushell_sublime_syntax
- Owner: kurokirasama
- License: mit
- Created: 2022-04-24T04:17:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T16:12:30.000Z (27 days ago)
- Last Synced: 2025-03-19T17:25:42.796Z (27 days ago)
- Language: Nushell
- Size: 64.5 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nu - Sublime Text by kurokirasama
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
```