chrisbra / csv.vim

A Filetype plugin for csv files

Home Page:http://www.vim.org/scripts/script.php?script_id=2830

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

invalid column pattern error

rudrab opened this issue · comments

Hi, while opening any csv file, I am getting error:
Invalid column pattern

Screenshot from 2021-09-14 07-14-22

I have installed the plugin using vim-plug and used:

" CSV: {{{2
if exists("did_load_csvfiletype")
  finish
endif
let did_load_csvfiletype=1

augroup filetypedetect
  au! BufRead,BufNewFile *.csv,*.dat  setfiletype csv
augroup END
" }}}2

no other csv related config is there in my .vimrc.
A sample csv is also attached.
head.csv

This file when opened in vim with ignoring the error is coming as
Screenshot from 2021-09-14 07-15-45

I would like to get rid of that error and want it to be properly columned.

check :h csv-syntax-error