Commit Graph

47 Commits

Author SHA1 Message Date
Bailey Ling
b7a74b1748 remove deprecated variables
over 2 years is more than enough warning...
2016-01-28 09:54:14 -05:00
Christian Brabandt
453f4b759f Allow to customize the trailing whitespace regexp
Currently, vim-airline uses hard-coded '\s$' to check for trailing
whitespace. However you might want to check for different values.
Therefore, set the variable
g:airline#extensions#whitespace#trailing_regexp to the required regexp
value.

closes #663
2016-01-27 14:18:28 +01:00
Bailey Ling
048b24a916 happy 2016! 2016-01-14 21:38:38 -05:00
Kazuo Teramoto
5c799511c9 Add check for long lines to extensions#whitespace
Check for lines > textwidth, disabled by default.
2015-10-05 11:40:55 -03:00
Bailey Ling
491b3335cd Merge pull request #763 from h3xx/master
Fix grammatical error in comment
2015-05-19 21:11:48 -04:00
Dan Church
bb2d6d8436 Fix grammatical error in comment 2015-04-28 12:25:26 -05:00
Emil Renner Berthing
e6ca2ac58d whitespace: add more lenient mixed whitespace algorithm 2015-04-14 19:01:08 +02:00
Bailey Ling
1ca6ffb6d0 happy 2015
resolves #692.
2015-02-13 21:47:43 -05:00
Bailey Ling
13ee9f456a address syntax errors
resolves #683
2015-01-03 19:38:17 -05:00
Bailey Ling
81430cbdf6 append to the existing value in case the user defined it. 2014-04-20 14:52:06 +00:00
Christian Brabandt
931367d9fb Enable :AirlineToggleWhitespace,
even if g:airline#extensions#whitespace#enabled is disabled
2014-04-20 00:39:43 +02:00
Bailey Ling
e49eac95a3 add support for configurable whitespace checking algorithms and default it to the simplest one. resolves #484 2014-04-19 14:27:14 -04:00
Bailey Ling
abee990d30 handle cases where the augroup has not be defined yet. resolves #492 2014-04-19 14:16:36 -04:00
Davit Samvelyan
7b0d80050a Now trailing tabs are also reported, fixed bug when trailings with mixed tabs and spaces were being reported as mixed indents, case when count of spaces at the end of tabbed indentation less then tabstop does not reported as mixed indent anymore. 2014-04-05 16:41:27 +05:00
Bailey Ling
d99112d6c6 improve whitespace detection. resolves #452. 2014-03-09 21:58:42 -04:00
Bailey Ling
baed8ac063 happy 2014 2014-01-19 23:44:44 -05:00
Bailey Ling
df2f33d6a5 specify maximum for whitespace checking. resolves #378. 2013-12-13 16:38:32 -05:00
Bailey Ling
31f36740c8 look up whitespace checks all the time. resolves #330. 2013-11-03 14:03:52 -05:00
bling
bfe35ed76c replace all instance of space with the no-break space. resolves #256. 2013-09-22 11:29:27 -04:00
Bailey Ling
93b9fa7c75 fix spacing when both trailing/indent occurs. 2013-09-11 21:01:25 +00:00
farseer90718
e117af9dd0 Disable white space detection for unmodifiable buffers 2013-09-11 10:08:51 +08:00
Bailey Ling
2066410156 use at least 2 spaces to be considered an indent. fixes #177. 2013-09-04 18:10:45 +00:00
Bailey Ling
54ec1f39ca test some commands 2013-08-30 20:57:34 -04:00
Bailey Ling
c6d996d5ca define the rest of the extensions. 2013-08-30 22:07:45 +00:00
Bailey Ling
6c5672d686 update documentation. 2013-08-28 02:36:12 +00:00
Bailey Ling
6fc8c00ef1 place syntastic and whitespace into parts. 2013-08-27 23:38:34 +00:00
Bailey Ling
d5d87d2cdc reduce variable deprecation. 2013-08-27 14:12:03 +00:00
Bailey Ling
6dd4cd5423 clean up how symbols are defined. 2013-08-26 23:39:25 -04:00
Bailey Ling
358d4328f4 support formattable whitespace messages. resolves #185. 2013-08-26 02:08:04 +00:00
Bailey Ling
a91dda01df improve documentation for writing extensions, also add helper methods. 2013-08-25 15:39:14 +00:00
Bailey Ling
e8d0d24163 prefer function name instead of funcref. 2013-08-24 01:21:09 +00:00
Bailey Ling
95a46cc106 fix whitespace toggle command (#177). 2013-08-23 16:42:55 +00:00
Jacob Walker
3920817442 Better toggling of powerline fonts
+ Check the value of airline_powerline_fonts not just existence
2013-08-22 09:14:17 -05:00
Bailey Ling
8452029e98 upgrade all funcrefs to support varargs. 2013-08-21 15:14:12 +00:00
Bailey Ling
e65aefac00 deprecate airline_detect_whitespace 2013-08-20 03:39:51 +00:00
Bailey Ling
f773325fa4 allow specific whitespace checks to be enabled/disabled. 2013-08-19 18:19:26 +00:00
Bailey Ling
2a02afb918 default whitespace symbol to non-unicode unless powerline fonts are enabled (#155). 2013-08-19 13:33:13 +00:00
Bailey Ling
2413babe8b remove checks for airline_active, it is always true 2013-08-11 15:24:08 +00:00
Bailey Ling
2ca403053c fix whitespace indent setting changed incorrectly when toggling 2013-08-10 13:09:52 +00:00
Bailey Ling
320f50c6f9 extract a line number for mixed indents 2013-08-09 20:23:03 -04:00
Bailey Ling
4485b03e51 add whitespace toggle command 2013-08-08 14:42:27 +00:00
Bailey Ling
f440ad3509 exclude readonly files from whitespace checking 2013-08-06 22:29:03 -04:00
Bailey Ling
6ced8b8ce6 add line number for trailing spaces 2013-08-06 22:02:53 -04:00
Bailey Ling
0a015e5305 use autocmds to detect whitespace, shouldn't need max anymore 2013-08-06 21:48:00 -04:00
Bailey Ling
d2c069b971 make syntastic use the warning section 2013-08-06 21:42:32 -04:00
Bailey Ling
7fb9bcf2c9 improve whitespace detection; add support for mixed indents 2013-08-07 00:48:53 +00:00
Bailey Ling
528f56472c introduce new warning section, and refactor whitespace into an extension which uses it 2013-08-07 00:17:33 +00:00