mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 05:53:50 -05:00
Remove rego syntax, fixes #486
This commit is contained in:
@@ -762,6 +762,10 @@ fu! csv#CalculateColumnWidth(row, silent) "{{{3
|
||||
" does not work with fixed width columns
|
||||
" row for the row for which to calculate the width
|
||||
let b:col_width=[]
|
||||
if has( 'vartabs' ) && b:delimiter == "\t"
|
||||
let vts_save=&vts
|
||||
set vts=
|
||||
endif
|
||||
try
|
||||
if exists("b:csv_headerline")
|
||||
if line('.') < b:csv_headerline
|
||||
@@ -780,6 +784,9 @@ fu! csv#CalculateColumnWidth(row, silent) "{{{3
|
||||
" delete buffer content in variable b:csv_list,
|
||||
" this was only necessary for calculating the max width
|
||||
unlet! b:csv_list s:columnize_count s:decimal_column
|
||||
if has( 'vartabs' ) && b:delimiter == "\t"
|
||||
let &vts=vts_save
|
||||
endif
|
||||
endfu
|
||||
fu! csv#Columnize(field) "{{{3
|
||||
" Internal function, not called from external,
|
||||
|
||||
@@ -14,7 +14,7 @@ function! vimtex#view#zathura#new() abort " {{{1
|
||||
endif
|
||||
|
||||
if executable('ldd')
|
||||
let l:shared = split(system('ldd =zathura'))
|
||||
let l:shared = split(system("sh -c 'ldd $(which zathura)'"))
|
||||
if v:shell_error == 0
|
||||
\ && empty(filter(l:shared, 'v:val =~# ''libsynctex'''))
|
||||
call vimtex#log#warning('Zathura is not linked to libsynctex!')
|
||||
|
||||
Reference in New Issue
Block a user