aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/vim.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-29 06:33:43 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-01-29 11:25:35 +0800
commit7db83d47b2bf88bb8d1c5c95407f66cf7807003c (patch)
treebad4d8c21c4ac4f64815fc261abfa8494a4a1dd6 /runtime/ftplugin/vim.vim
parentd62b3fa62340323ede892328c59ac3771f7024f2 (diff)
downloadrneovim-7db83d47b2bf88bb8d1c5c95407f66cf7807003c.tar.gz
rneovim-7db83d47b2bf88bb8d1c5c95407f66cf7807003c.tar.bz2
rneovim-7db83d47b2bf88bb8d1c5c95407f66cf7807003c.zip
vim-patch:21ce159e0561
runtime(vim): Update syntax and ftplugin files (vim/vim#13924) Improve matching of line-continuations and interspersed comments. These are now also matched in multiline syntax command patterns, dictionary literals, and parenthesised expressions and argument lists. https://github.com/vim/vim/commit/21ce159e05615fd139c564b734a4bffc9f3fdc4b Co-authored-by: dkearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime/ftplugin/vim.vim')
-rw-r--r--runtime/ftplugin/vim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index 8abe337f9f..f5dae0f94e 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -58,7 +58,7 @@ endif
" Set 'comments' to format dashed lists in comments, both in Vim9 and legacy
" script.
-setlocal com=sO:#\ -,mO:#\ \ ,eO:##,:#,sO:\"\ -,mO:\"\ \ ,eO:\"\",:\"
+setlocal com=sO:#\ -,mO:#\ \ ,eO:##,:#\\\ ,:#,sO:\"\ -,mO:\"\ \ ,eO:\"\",:\"\\\ ,:\"
" Format comments to be up to 78 characters long