mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
fix(regex): some words start with no
This commit is contained in:
@@ -83,7 +83,7 @@ function! s:ToggleSyntax() "{{{2
|
|||||||
|
|
||||||
if exists("g:table_mode_color_cells") && g:table_mode_color_cells
|
if exists("g:table_mode_color_cells") && g:table_mode_color_cells
|
||||||
syntax match yesCell '|\@<= *yes[^|]*' contained
|
syntax match yesCell '|\@<= *yes[^|]*' contained
|
||||||
syntax match noCell '|\@<= *no[^|]*' contained
|
syntax match noCell '|\@<= *no\A[^|]*' contained " \A to exclude words like notes
|
||||||
syntax match maybeCell '|\@<= *?[^|]*' contained
|
syntax match maybeCell '|\@<= *?[^|]*' contained
|
||||||
" '|\@<=' : Match previous characters, excluding them from the group
|
" '|\@<=' : Match previous characters, excluding them from the group
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user