Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Commit: runtime(tsv): include simple syntax plugin

1 view
Skip to first unread message

Christian Brabandt

unread,
Jul 17, 2024, 2:14:09 AM7/17/24
to vim...@googlegroups.com
runtime(tsv): include simple syntax plugin

Commit: https://github.com/vim/vim/commit/3698fbbd7c35590dcc4708677d6c38f9009cf9a3
Author: Christian Brabandt <c...@256bit.org>
Date: Tue Jul 16 21:51:32 2024 +0200

runtime(tsv): include simple syntax plugin

fixes: https://github.com/vim/vim/issues/15271

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/syntax/tsv.vim b/runtime/syntax/tsv.vim
new file mode 100644
index 000000000..f0dd9f717
--- /dev/null
+++ b/runtime/syntax/tsv.vim
@@ -0,0 +1,12 @@
+" Vim filetype plugin file
+" Language: Tab separated values (TSV)
+" Last Change: 2024 Jul 16
+" This runtime file is looking for a new maintainer.
+
+if exists('b:current_syntax')
+ finish
+endif
+
+let b:csv_delimiter = ' ' " enforce tab delimiter
+runtime! syntax/csv.vim
+let b:current_syntax = 'tsv'
Reply all
Reply to author
Forward
0 new messages