Files
neovim/runtime/ftplugin/nu.vim
zeertzjq 91fa613fad 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>
2025-09-07 21:22:12 +08:00

18 lines
398 B
VimL

" Vim filetype plugin
" 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")
finish
endif
let b:did_ftplugin = 1
setlocal commentstring=#\ %s
setlocal comments-=://
setlocal formatoptions=tcroql
let b:undo_ftplugin = "setl fo< cms< com<"