aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/cs.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-03-15 09:53:43 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-03-15 10:26:56 +0100
commit9ef80352b6e8e18e002d3d2097c8bbd1d168fe40 (patch)
tree96f33613f9b4e2881eb889fb033ba02d89af4fc3 /runtime/ftplugin/cs.vim
parent1b1af8aae83e86a6d313d20682d9e02562e94edb (diff)
downloadrneovim-9ef80352b6e8e18e002d3d2097c8bbd1d168fe40.tar.gz
rneovim-9ef80352b6e8e18e002d3d2097c8bbd1d168fe40.tar.bz2
rneovim-9ef80352b6e8e18e002d3d2097c8bbd1d168fe40.zip
vim-patch:96395e1: runtime(cs): Update C# runtime files
closes: vim/vim#16884 https://github.com/vim/vim/commit/96395e15125502e6c29bc93c58d688a2bdc31300 Co-authored-by: Nick Jensen <nickspoon@gmail.com>
Diffstat (limited to 'runtime/ftplugin/cs.vim')
-rw-r--r--runtime/ftplugin/cs.vim8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/ftplugin/cs.vim b/runtime/ftplugin/cs.vim
index ada71315e1..d40fe43ebc 100644
--- a/runtime/ftplugin/cs.vim
+++ b/runtime/ftplugin/cs.vim
@@ -2,8 +2,7 @@
" Language: C#
" Maintainer: Nick Jensen <nickspoon@gmail.com>
" Former Maintainer: Johannes Zellner <johannes@zellner.org>
-" Last Change: 2022-11-16
-" 2024 Jan 14 by Vim Project (browsefilter)
+" Last Change: 2025-03-14
" License: Vim (see :h license)
" Repository: https://github.com/nickspoons/vim-cs
@@ -21,8 +20,11 @@ setlocal formatoptions-=t formatoptions+=croql
" Set 'comments' to format dashed lists in comments.
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
+setlocal commentstring=//\ %s
-let b:undo_ftplugin = 'setl com< fo<'
+setlocal cinoptions=J1
+
+let b:undo_ftplugin = 'setl com< fo< cino<'
if exists('loaded_matchit') && !exists('b:match_words')
" #if/#endif support included by default