mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-13 05:23:46 -05:00
Minor refactor & improved test coverage
This commit is contained in:
@@ -93,7 +93,7 @@ endfunction
|
||||
|
||||
function! tablemode#align#alignments(lnum, ncols) "{{{2
|
||||
let alignments = []
|
||||
if tablemode#table#IsHeader(a:lnum+1)
|
||||
if tablemode#table#IsBorder(a:lnum+1)
|
||||
let hcols = tablemode#align#Split(getline(a:lnum+1), '[' . g:table_mode_corner . g:table_mode_corner_corner . ']')
|
||||
for idx in range(len(hcols))
|
||||
" Right align if header
|
||||
|
||||
Reference in New Issue
Block a user