Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kurokirasama/nushell_sublime_syntax
- Owner: kurokirasama
- License: mit
- Created: 2022-04-24T04:17:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T00:55:46.000Z (14 days ago)
- Last Synced: 2024-11-03T01:17:09.334Z (14 days ago)
- Language: Nushell
- Size: 36.1 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
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
```