mirror of
https://github.com/neovim/neovim.git
synced 2026-05-05 21:45:05 +00:00
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:
@@ -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<"
|
||||
|
||||
Reference in New Issue
Block a user