changeset 35721:1d94cf87a5ee

runtime(tsv): include simple syntax plugin Commit: https://github.com/vim/vim/commit/3698fbbd7c35590dcc4708677d6c38f9009cf9a3 Author: Christian Brabandt <cb@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 <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Jul 2024 08:14:04 +0200
parents 2f9521c4bcf8
children ce7444932362
files runtime/syntax/tsv.vim
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /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 = '\t'  " enforce tab delimiter
+runtime! syntax/csv.vim
+let b:current_syntax = 'tsv'