]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(tsv): include simple syntax plugin
authorChristian Brabandt <cb@256bit.org>
Tue, 16 Jul 2024 19:51:32 +0000 (21:51 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 16 Jul 2024 19:53:40 +0000 (21:53 +0200)
fixes: #15271

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/tsv.vim [new file with mode: 0644]

diff --git a/runtime/syntax/tsv.vim b/runtime/syntax/tsv.vim
new file mode 100644 (file)
index 0000000..f0dd9f7
--- /dev/null
@@ -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'