refactor(nvim): allow trailing whitespace on tables
This commit is contained in:
parent
8a65153fba
commit
0f94203abb
@ -1,5 +1,5 @@
|
||||
syn match org_table_sep /\(|\|\(-\|=\)\|+\)/ contained
|
||||
syn match org_table_header /|.*|/ contained contains=org_table_sep
|
||||
syn match org_table_header_region /|.*|\_s*|\_s*\(-+\|\-\|=\).*|$/ contained contains=org_table_header
|
||||
syn match org_table /|.*|$/ contained contains=org_table_sep,org_table_header_region
|
||||
syn match org_table_region /^\s*|.*|$/ contains=org_table
|
||||
syn match org_table_header_region /|.*|\_s*|\_s*\(-+\|\-\|=\).*|\_s*$/ contained contains=org_table_header
|
||||
syn match org_table /|.*|\_s*$/ contained contains=org_table_sep,org_table_header_region
|
||||
syn match org_table_region /^\s*|.*|\_s*$/ contains=org_table
|
||||
|
Loading…
Reference in New Issue
Block a user