Compare commits

...

1 Commits

Author SHA1 Message Date
Dhruva Sagar
698ff3074c Improve handling of g:table_mode_ignore_align 2022-03-01 13:12:54 +05:30
4 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
# Change Log
## Version 4.7.6.1
* Improved handling of `g:table_mode_ignore_align` configuration, now allows
per buffer overrides
## Version 4.7.6
* Add configuration `g:table_mode_ignore_align`

View File

@@ -1,4 +1,4 @@
# VIM Table Mode v4.7.6 [![Build Status](https://travis-ci.org/dhruvasagar/vim-table-mode.png?branch=master)](https://travis-ci.org/dhruvasagar/vim-table-mode)
# VIM Table Mode v4.7.6.1 [![Build Status](https://travis-ci.org/dhruvasagar/vim-table-mode.png?branch=master)](https://travis-ci.org/dhruvasagar/vim-table-mode)
An awesome automatic table creator & formatter allowing one to create neat
tables as you type.

View File

@@ -115,7 +115,7 @@ function! tablemode#align#Align(lines) "{{{2
endfor
endfor
if g:table_mode_ignore_align ==# 1
if tablemode#utils#get_buffer_or_global_option('table_mode_ignore_align') ==# 1
let alignments = []
else
let alignments = tablemode#align#alignments(lines[0].lnum, len(lines[0].text))

View File

@@ -1,7 +1,7 @@
*table-mode.txt* Table Mode for easy table formatting
===============================================================================
Table Mode, THE AWESOME AUTOMATIC TABLE CREATOR & FORMATTER
VERSION 4.7.6
VERSION 4.7.6.1
Author: Dhruva Sagar <http://dhruvasagar.com/>
License: MIT <http://opensource.org/licenses/MIT/>