Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 615330

Summary: app-editors/vim: CSV Syntax:Invalid column pattern, using default pattern
Product: Gentoo Linux Reporter: segmentation fault <segmentation-fault>
Component: Current packagesAssignee: Oskari Pirhonen <xxc3ncoredxx>
Status: UNCONFIRMED ---    
Severity: trivial CC: proxy-maint, vim
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Example .tsv file

Description segmentation fault 2017-04-12 07:30:49 UTC
Upon opening a tab-separated file (.tsv), I get:

CSV Syntax:Invalid column pattern, using default pattern \%([^,]*,\|$\)


"This happens usually, because either the column pattern is invalid
or the syntax script cannot access the configuation variables setup 
by the filetype plugin, which is caused by having a 

:syntax on 

line before the 

:filetype plugin 

line in your .vimrc."



Move the code block

" {{{ Filetype plugin settings
" Enable plugin-provided filetype settings, but only if the ftplugin
" directory exists (which it won't on livecds, for example).
if isdirectory(expand("$VIMRUNTIME/ftplugin"))
  filetype plugin on

  " Uncomment the next line (or copy to your ~/.vimrc) for plugin-provided
  " indent settings. Some people don't like these, so we won't turn them on by
  " default.
  " filetype indent on
" }}}

before the code block

" {{{ Syntax highlighting settings
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  syntax on
  set hlsearch
" }}}


Comment 1 segmentation fault 2017-04-12 07:42:08 UTC
Created attachment 469794 [details]
Example .tsv file