runtime(nu): include filetype plugin

This is used to set the commentstring option.

closes: #15601

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Marc Jakobi <marc.jakobi@tiko.energy>
This commit is contained in:
Marc Jakobi
2024-09-01 09:21:16 +02:00
committed by Christian Brabandt
parent 396fd1ec29
commit 9abd02d16a
2 changed files with 14 additions and 0 deletions

13
runtime/ftplugin/nu.vim Normal file
View File

@ -0,0 +1,13 @@
" Vim filetype plugin
" Language: Nu
" Maintainer: Marc Jakobi <marc@jakobi.dev>
" Last Change: 2024 Aug 31
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
setlocal commentstring=#\ %s
let b:undo_ftplugin = 'setl com<'