vim-patch:6505dc6: runtime(nu): Add new Nushell runtime files

See: https://github.com/elkasztano/nushell-syntax-vim

Thanks to Pete Cruz (@Petesta) for promoting this addition.

closes: vim/vim#18208

6505dc69d3

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjq
2025-09-07 21:21:42 +08:00
parent 30dc9934a6
commit 91fa613fad
3 changed files with 783 additions and 5 deletions

View File

@@ -1,13 +1,17 @@
" Vim filetype plugin
" Language: Nu
" Maintainer: Marc Jakobi <marc@jakobi.dev>
" Last Change: 2024 Aug 31
" Language: Nushell
" Maintainer: El Kasztano
" URL: https://github.com/elkasztano/nushell-syntax-vim
" License: MIT <https://opensource.org/license/mit>
" Last Change: 2025 Sep 05
if exists('b:did_ftplugin')
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
setlocal commentstring=#\ %s
setlocal comments-=://
setlocal formatoptions=tcroql
let b:undo_ftplugin = 'setl com<'
let b:undo_ftplugin = "setl fo< cms< com<"