aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-07-16 22:32:00 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-07-17 11:11:58 +0200
commitc7b0334ceaeff87b8f55ca345e2bda7bfdfba58c (patch)
tree6b0e5a735780e5d98ed6452cd6924f1d5a3d3495
parent8e590cae83c321445a598fcd87bb31b6187402f7 (diff)
downloadrneovim-c7b0334ceaeff87b8f55ca345e2bda7bfdfba58c.tar.gz
rneovim-c7b0334ceaeff87b8f55ca345e2bda7bfdfba58c.tar.bz2
rneovim-c7b0334ceaeff87b8f55ca345e2bda7bfdfba58c.zip
vim-patch:3698fbb: runtime(tsv): include simple syntax plugin
fixes: vim/vim#15271 https://github.com/vim/vim/commit/3698fbbd7c35590dcc4708677d6c38f9009cf9a3 Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/syntax/tsv.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/syntax/tsv.vim b/runtime/syntax/tsv.vim
new file mode 100644
index 0000000000..f0dd9f717d
--- /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'