323 Commits

Author SHA1 Message Date
Dhruva Sagar
c547471c0e Bump version to 4.7.5 v4.7.5 2021-12-02 00:30:20 +05:30
Dhruva Sagar
bdcffffe1f Attempt to Fix #173 2021-12-02 00:28:56 +05:30
Dhruva Sagar
01a395df00 Add github sponsors! 2021-10-27 00:02:13 +05:30
Dhruva Sagar
2e95bc6991 Merge pull request #208 from jdorel/feature-cellcolor
(feature) highlight cell color based on cell prefix
2021-10-08 01:25:54 +05:30
Jonas DOREL
0fe6bd87ac feat(highlight): add color prefixes 2021-10-07 18:37:17 +02:00
Jonas DOREL
59900a3fef fix(regex): some words start with no 2021-10-05 20:20:57 +02:00
Dhruva Sagar
eb42c62812 Merge pull request #207 from jdorel/feature-cellcolor
feat(highlight): color cell if contains yes,no,?
2021-10-05 22:43:52 +05:30
Jonas DOREL
e5dc853ee3 fix(highlight): disable highlight when word before 2021-10-05 17:29:47 +02:00
Jonas DOREL
c949912bfa feat(highlight): color cell if contains yes,no,? 2021-10-05 16:06:53 +02:00
Dhruva Sagar
02d28b9323 Move echo cell functionality to autoload. Fixes #206 2021-09-04 23:24:42 +05:30
Dhruva Sagar
35e9fbf64c Improve formula evaluation. Fix #201
A past change added support for html comments for tables, however, this
fails when the formula line happens to match the format of html comments
2021-05-30 03:53:41 +05:30
Dhruva Sagar
5150f1ec06 Merge pull request #200 from bmundt6/master
Handle separator map and map target separately
2021-05-05 23:04:42 +05:30
Dhruva Sagar
d9334c52cc Bump ruby version for travis 2021-05-05 22:27:01 +05:30
Dhruva Sagar
88b9c85af3 Update doc and fixed specs 2021-05-05 22:23:35 +05:30
Dhruva Sagar
26d2390548 Merge branch 'master' into bmundt6-master 2021-05-05 22:23:27 +05:30
Dhruva Sagar
7b17c692e9 Update ruby to 3.0.0 for testing
Bump version to version 4.7.4
2021-05-05 22:12:44 +05:30
Benjamin Mundt
8dcdfad1ee Define separator map in one place as a global; add separator map target for separators other than | 2021-04-29 14:15:48 -04:00
Dhruva Sagar
659ba4f39c Merge pull request #187 from rohieb/doc
doc: correctly document fillchar and header fillchar
2020-10-14 01:06:56 +05:30
Roland Hieber
04b14c345e doc: correctly document fillchar and header fillchar 2020-10-07 23:05:51 +02:00
Dhruva Sagar
3476c4e517 Improve Tableize. Fix #109.
This adds a new option `g:table_mode_tableize_auto_border` that allows
to enable automatic border creation when using Tableize to create tables
v4.7.3
2020-08-19 21:59:37 +05:30
Dhruva Sagar
88cb2e44b6 Bump version v4.7.2 2020-08-02 23:28:10 +05:30
Dhruva Sagar
336262d04f Fix #184
Improve formula evaluation, support border rows
2020-08-02 23:26:27 +05:30
Dhruva Sagar
5c489b57e8 Improve documentation. Fix #183
Update the vim help documentation to match the correct mappings
& behavior
2020-07-27 19:51:11 +05:30
Dhruva Sagar
436e7d6c21 Merge pull request #182 from CaninoDev/patch-2
Update README.md
2020-07-25 01:52:55 +05:30
Dhruva Sagar
1ea7960834 Merge pull request #181 from CaninoDev/patch-1
Add instructions for installation via vim-plug
2020-07-25 01:51:52 +05:30
IanGC
ff38f4451b Update README.md
1) `it's` is a contraction of `it is`. `its` is the possessive
2) Made consistent the formatting of `[count]` as used in various locations
3) Made consistent the various `g:` formattings
4) `immidiately` is correctly spelled `immediately`
5) Shortened some sentences for clarity

As an aside, this is an immensely useful plugin. Thanks so much for contributing your code.
2020-07-24 15:48:47 -04:00
IanGC
d5b9ce4d9e Add instructions for installation via vim-plug 2020-07-24 15:26:10 -04:00
Dhruva Sagar
6404009080 Improve documentation of g:table_mode_disable_tableize_mappings v4.7.1.1 2020-05-06 20:29:11 +05:30
Dhruva Sagar
c9b13e5d30 Add config to disable tableize mappings. Fix 176 v4.7.1 2020-05-06 20:20:53 +05:30
Dhruva Sagar
6a6f3565c3 Releasing version 4.7.0 v4.7.0 2020-04-19 22:02:25 +05:30
Dhruva Sagar
0b1dcf2e4c Merge pull request #175 from insanum/formulas
added some new formula functions
2020-04-19 21:55:36 +05:30
Eric Davis
2e5713ae6a fixed the Average function and test case when spanning rows/columns
fixed a Vim error(E907) in Min/Max when comparing v:null to a float
fixed CountE/CountNE/PercentE/PercentNE to support spanning rows/columns
added test cases for all the new formula functions
2020-04-19 00:20:55 -07:00
Eric Davis
f755285cf3 simplified the CountE function
cleanup for HTML comment tag checks
2020-04-18 21:47:22 -07:00
Eric Davis
5cdf3c2ac1 Added the following formula functions:
- Min: get the lowest value
  - Max: get the highest value
  - CountE: count the number of empty cells
  - CountNE: count the number of non-empty cells
  - PercentE: percent of empty cells
  - PercentNE: percent of non-empty cells
  - AverageNE: average over non-empty cells

Also added a subtle tweak that ignores an HTML comment tag ('<!--')
found between the table and the starting formula line. Being able to
wrap all the formula lines with an HTML comment prevents the formulas
from being rendered in Markdown/ReST output.
2020-04-18 18:46:21 -07:00
Dhruva Sagar
29e7cb41bb Merge pull request #174 from ibbem/feature/add-columns
Add a way to insert columns
2020-04-17 20:16:39 +05:30
ibbem
46e4493b30 Start insert mode after adding a column 2020-04-13 22:34:44 +02:00
ibbem
85a5e3d4e1 Fix the column modifications on escaped separators
If a g:table_mode_separator is escaped by a backslash, the table is
aligned ignoring this instance of the g:table_mode_separator, but the
column deletion and insertion functions did not consider this behaviour.

The g:table_mode_escaped_separator regex is simplified and optimized a
little bit. Also more care is taken to prevent unexpected behaviour if
special characters are used as g:table_mode_separator.
2020-04-04 15:27:23 +02:00
ibbem
67129cd1e0 Fix column modifications if Unicode is involved 2020-04-04 15:27:23 +02:00
ibbem
0b58003b68 Add support for inserting columns #130
Two mappings are introduced to enable usage of this feature like vim's
pasting with p and P.
2020-04-04 15:27:19 +02:00
ibbem
6912880697 Include the header when deleting columns 2020-03-31 18:21:45 +02:00
Dhruva Sagar
6412352b54 Merge pull request #169 from dhruvasagar/dependabot/bundler/rake-12.3.3
Bump rake from 10.1.0 to 12.3.3
v4.6.8
2020-03-02 00:08:27 -05:00
dependabot[bot]
a5909a01b9 Bump rake from 10.1.0 to 12.3.3
Bumps [rake](https://github.com/ruby/rake) from 10.1.0 to 12.3.3.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/rake-10.1.0...v12.3.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-29 08:29:09 +00:00
Dhruva Sagar
0af25d72eb Update dependencies, use ruby 2.5.3 for testing 2019-12-17 14:29:38 -05:00
Dhruva Sagar
06adb63764 Trying to fix travis 2019-12-17 14:22:58 -05:00
Dhruva Sagar
aedcd8e077 Fix #161, Add documentation about :TableModeRealign and mapping to README 2019-12-17 14:08:09 -05:00
Dhruva Sagar
5ac34a22db Fix #156, improved cursor column detection 2019-12-10 16:13:23 -05:00
Dhruva Sagar
8677840826 Rename ftplugins to avoid clobbering with other ftplugins 2019-12-10 16:13:23 -05:00
Dhruva Sagar
5ec330d114 Merge pull request #158 from I-am-the-doctor/fix-delete
Fix repeated deletions of rows and columns
2019-11-16 13:11:40 -05:00
Benjamin Moosherr
d670f5e0f8 Tests for issue #157 2019-11-16 17:17:29 +01:00
Benjamin Moosherr
9781613f66 Fix issue #157
Because tablemode#spreadsheet#DeleteColumn() and
tablemode#spreadsheet#DeleteRow() take v:count1 into account, the
automatic repetition of vim has to be suppressed.
2019-11-16 17:17:07 +01:00