https://github.com/elkasztano/nushell-syntax-vim
Nushell syntax highlighting for Vim
https://github.com/elkasztano/nushell-syntax-vim
Last synced: 12 days ago
JSON representation
Nushell syntax highlighting for Vim
- Host: GitHub
- URL: https://github.com/elkasztano/nushell-syntax-vim
- Owner: elkasztano
- License: mit
- Created: 2023-10-29T12:31:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T17:50:14.000Z (about 2 months ago)
- Last Synced: 2025-02-16T18:33:50.497Z (about 2 months ago)
- Language: Vim Script
- Homepage:
- Size: 42 KB
- Stars: 21
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nu - vim plugin
README
# nushell-syntax-vim
Nushell syntax highlighting and indentation for Vim## Installation
* create the ~/.vim directory and required subdirectories if they do not already exist
```
mkdir -p ~/.vim/ftdetect && \
mkdir -p ~/.vim/ftplugin && \
mkdir -p ~/.vim/syntax && \
mkdir -p ~/.vim/indent
```* copy the .vim-files to their corresponding directories in ~/.vim
* restart vim, if necessary## Installation using Nushell script (experimental)
* requires 'nu' to be in your PATH
* use at your own risk
* tested with Nushell 0.88.1 on Debian 12 and Windows 11```
git clone "https://github.com/elkasztano/nushell-syntax-vim"
cd nushell-syntax-vim
nu install.nu
```to uninstall navigate to the 'nushell-syntax-vim' directory, then type
```
nu uninstall.nu
```## Notes
I am new to both Nushell and Vimscript, and I am currently learning both at the same time. Please bear in mind that this little project is still very much a work in progress. I couldn't find a Nushell plugin for Vim, so I decided to create one myself.
Suggestions for improvement are highly appreciated.Tested with Vim 9.0