mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
Improve handling of g:table_mode_ignore_align
This commit is contained in:
@@ -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`
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# VIM Table Mode v4.7.6 [](https://travis-ci.org/dhruvasagar/vim-table-mode)
|
||||
# VIM Table Mode v4.7.6.1 [](https://travis-ci.org/dhruvasagar/vim-table-mode)
|
||||
|
||||
An awesome automatic table creator & formatter allowing one to create neat
|
||||
tables as you type.
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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/>
|
||||
|
||||
Reference in New Issue
Block a user