mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00:00
vim-patch:9.0.0049: csv and tsv files are not recognized (#19300)
Problem: Csv and tsv files are not recognized.
Solution: Add patterns fo csv and tsv files. (Leandro Lourenci,
closes vim/vim#10680)
99af91e582
This commit is contained in:
@@ -405,6 +405,9 @@ au BufNewFile,BufRead configure.in,configure.ac setf config
|
|||||||
" Cooklang
|
" Cooklang
|
||||||
au BufNewFile,BufRead *.cook setf cook
|
au BufNewFile,BufRead *.cook setf cook
|
||||||
|
|
||||||
|
" CSV Files
|
||||||
|
au BufNewFile,BufRead *.csv setf csv
|
||||||
|
|
||||||
" CUDA Compute Unified Device Architecture
|
" CUDA Compute Unified Device Architecture
|
||||||
au BufNewFile,BufRead *.cu,*.cuh setf cuda
|
au BufNewFile,BufRead *.cu,*.cuh setf cuda
|
||||||
|
|
||||||
@@ -2029,6 +2032,9 @@ au BufNewFile,BufReadPost *.tssop setf tssop
|
|||||||
" TSS - Command Line (temporary)
|
" TSS - Command Line (temporary)
|
||||||
au BufNewFile,BufReadPost *.tsscl setf tsscl
|
au BufNewFile,BufReadPost *.tsscl setf tsscl
|
||||||
|
|
||||||
|
" TSV Files
|
||||||
|
au BufNewFile,BufRead *.tsv setf tsv
|
||||||
|
|
||||||
" Tutor mode
|
" Tutor mode
|
||||||
au BufNewFile,BufReadPost *.tutor setf tutor
|
au BufNewFile,BufReadPost *.tutor setf tutor
|
||||||
|
|
||||||
|
@@ -259,6 +259,7 @@ local extension = {
|
|||||||
fdr = 'csp',
|
fdr = 'csp',
|
||||||
csp = 'csp',
|
csp = 'csp',
|
||||||
css = 'css',
|
css = 'css',
|
||||||
|
csv = 'csv',
|
||||||
con = 'cterm',
|
con = 'cterm',
|
||||||
feature = 'cucumber',
|
feature = 'cucumber',
|
||||||
cuh = 'cuda',
|
cuh = 'cuda',
|
||||||
@@ -974,6 +975,7 @@ local extension = {
|
|||||||
tsscl = 'tsscl',
|
tsscl = 'tsscl',
|
||||||
tssgm = 'tssgm',
|
tssgm = 'tssgm',
|
||||||
tssop = 'tssop',
|
tssop = 'tssop',
|
||||||
|
tsv = 'tsv',
|
||||||
tutor = 'tutor',
|
tutor = 'tutor',
|
||||||
twig = 'twig',
|
twig = 'twig',
|
||||||
ts = function(path, bufnr)
|
ts = function(path, bufnr)
|
||||||
|
@@ -128,6 +128,7 @@ let s:filename_checks = {
|
|||||||
\ 'csp': ['file.csp', 'file.fdr'],
|
\ 'csp': ['file.csp', 'file.fdr'],
|
||||||
\ 'css': ['file.css'],
|
\ 'css': ['file.css'],
|
||||||
\ 'cterm': ['file.con'],
|
\ 'cterm': ['file.con'],
|
||||||
|
\ 'csv': ['file.csv'],
|
||||||
\ 'cucumber': ['file.feature'],
|
\ 'cucumber': ['file.feature'],
|
||||||
\ 'cuda': ['file.cu', 'file.cuh'],
|
\ 'cuda': ['file.cu', 'file.cuh'],
|
||||||
\ 'cupl': ['file.pld'],
|
\ 'cupl': ['file.pld'],
|
||||||
@@ -563,6 +564,7 @@ let s:filename_checks = {
|
|||||||
\ 'tsscl': ['file.tsscl'],
|
\ 'tsscl': ['file.tsscl'],
|
||||||
\ 'tssgm': ['file.tssgm'],
|
\ 'tssgm': ['file.tssgm'],
|
||||||
\ 'tssop': ['file.tssop'],
|
\ 'tssop': ['file.tssop'],
|
||||||
|
\ 'tsv': ['file.tsv'],
|
||||||
\ 'twig': ['file.twig'],
|
\ 'twig': ['file.twig'],
|
||||||
\ 'typescript.glimmer': ['file.gts'],
|
\ 'typescript.glimmer': ['file.gts'],
|
||||||
\ 'typescriptreact': ['file.tsx'],
|
\ 'typescriptreact': ['file.tsx'],
|
||||||
|
Reference in New Issue
Block a user