Commit Graph

708 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
bbf75bd35d Minor update to folding 2016-04-22 22:50:36 +02:00
Karl Yngve Lervåg
97de910258 Fixed #440: Problem with stopline arguments
The stoplines were relative to the window limits (i.e. line('w$') and
line('w0')). This does not work when delimiters are searched beyond the
window limit +- the stopline borders, which e.g. might happen when
searching in large documents.

The fix is to use limits that are relative to the current position,
line('.').
2016-04-22 22:02:50 +02:00
Karl Yngve Lervåg
decf0f8e1d Remove paragraph text objects and motions (#320) 2016-04-17 13:16:00 +02:00
Karl Yngve Lervåg
381973407c Fixed #435: Issue with pgrep command 2016-04-17 12:35:30 +02:00
Karl Yngve Lervåg
4790dab9f9 Minor improvement to highlight matching (#434) 2016-04-13 11:19:09 +02:00
Karl Yngve Lervåg
af2fee68ca Only set b:vimtex.tmp when applicable 2016-04-13 09:56:47 +02:00
Karl Yngve Lervåg
9dfa9af8e9 Improved VimtexCompileSS (#424)
* Simplify code, remove redundancies
* Ensure that there is feedback also from `VimtexCompileSS`
* Provide feedback on compile status if possible (i.e., if process was not run
  in the background)
2016-04-12 21:46:20 +02:00
Karl Yngve Lervåg
98926a61b2 Fixed minor bug 2016-04-12 18:45:45 +02:00
Karl Yngve Lervåg
2a83d4a6f0 Fixed #424: Add support for shellslash on windows 2016-04-11 21:54:35 +02:00
Karl Yngve Lervåg
ede50541a8 Add s:uniq to support older Vim versions 2016-04-11 21:48:05 +02:00
Karl Yngve Lervåg
eb48452c79 Fixed #433: Enable vimtex-toc in bib files 2016-04-11 20:33:18 +02:00
Karl Yngve Lervåg
73b50603a8 Fix minor bug for latexmain specifier 2016-04-10 22:03:24 +02:00
Karl Yngve Lervåg
12a0f00603 Remove g:vimtex_quickfix_fix_paths
The option will now always be activated, as there seems to be no reason
not to keep it activated.
2016-04-10 11:04:09 +02:00
Karl Yngve Lervåg
0f59eb086a Fix #421: Problem with quickfix entries 2016-04-09 13:37:41 +02:00
Karl Yngve Lervåg
c673e928a0 Fixed #430: Allow manual enabling of folding 2016-04-08 23:26:36 +02:00
Karl Yngve Lervåg
64722424c8 Fix stupid bug; now tests should run on travis 2016-04-08 23:13:12 +02:00
Karl Yngve Lervåg
c4f55b3ddc Add more default options to latexmk (#423)
Also improves documentation on the vimtex setting
g:vimtex_latexmk_options.
2016-04-08 13:01:49 +02:00
Karl Yngve Lervåg
d331b9049d Fixed #427 - minor error in delimiters 2016-04-07 21:16:19 +02:00
Karl Yngve Lervåg
c3d3987a8d Remove g:vimtex_latexmk_file_line_error option 2016-04-06 14:54:24 +02:00
Frankie Robertson
cf9365d944 Fix file-line-error by letting latexmk deal with it 2016-04-06 14:16:28 +02:00
Karl Yngve Lervåg
ec1c8a0446 Minor simplification of tex parser 2016-04-05 22:37:41 +02:00
mbrunnen
e647ebe16a Added filename completer for standalone files
* Added filename completer for standalone files

* added the tikz file
2016-04-05 18:10:46 +02:00
mbrunnen
7b5e6858a7 Added a new filename completer for pdfpages 2016-04-05 15:38:05 +02:00
Karl Yngve Lervåg
a12e11f1fb Allow to modify parser input line regexps 2016-04-05 13:20:00 +02:00
Karl Yngve Lervåg
74408ea428 Merge pull request #404 from mbrunnen/master
Fix for issue #403
2016-04-05 13:06:38 +02:00
Karl Yngve Lervåg
74979580a2 Fixed #410: Improve env text object matching 2016-04-04 22:30:36 +02:00
Karl Yngve Lervåg
a8b29f8fb4 Get more cmd info for open env delims 2016-04-04 22:30:36 +02:00
Karl Yngve Lervåg
ceb236b64a Behave properly with bad arguments 2016-04-04 22:15:07 +02:00
Karl Yngve Lervåg
fa27d5764f Allow to get environment commands 2016-04-04 22:14:37 +02:00
Karl Yngve Lervåg
b94dd3cc6d Add function to get cmd at given position 2016-04-04 22:14:11 +02:00
Karl Yngve Lervåg
8ae3cea312 Fixed #382: Problem with quote escapes 2016-04-04 18:05:23 +02:00
Karl Yngve Lervåg
975eb990bc Revert ba756065 2016-04-02 08:39:23 +02:00
Karl Yngve Lervåg
ba756065ff Fixed #405: interaction=nonstopmode for pdflatex 2016-04-01 23:20:56 +02:00
Karl Yngve Lervåg
c0a2b4f22a Fix minor error in quickfix-fix-path 2016-04-01 23:17:08 +02:00
Karl Yngve Lervåg
cec3c95587 Fixed #407: Error in regexp 2016-04-01 11:16:27 +02:00
Karl Yngve Lervåg
5cda0b3410 Fixed #402: /usr/bin/perl instead of perl 2016-04-01 10:21:43 +02:00
Karl Yngve Lervåg
9190e396af Fixed #407: Add support for paragraph folding 2016-03-31 22:59:46 +02:00
Karl Yngve Lervåg
02c7ce701e Fix #406 - Comment after section title 2016-03-31 22:23:14 +02:00
Manoel Brunnen
82d07ead4d changed s:gls to match more glossary commands 2016-03-31 17:29:37 +02:00
Manoel Brunnen
7f76205a42 Fix proposal for issue #403 2016-03-30 13:16:13 +02:00
Karl Yngve Lervåg
7b5db91425 Generalize the latexmk hooks (#383) 2016-03-29 23:42:31 +02:00
Karl Yngve Lervåg
845f7e493e And more travis; Use latest vim version 2016-03-27 22:09:06 +02:00
Karl Yngve Lervåg
5e2bdacafe More travis updates 2016-03-27 22:00:43 +02:00
Karl Yngve Lervåg
6b4b3f72b7 Use getline instead of readfile 2016-03-27 13:41:38 +02:00
Karl Yngve Lervåg
6c31d6c5af Minor fix to local fold variables 2016-03-27 13:39:25 +02:00
Karl Yngve Lervåg
2250d4258f Add function to check for given environment 2016-03-24 23:49:58 +01:00
Karl Yngve Lervåg
d169631706 Add support for hyperref command (#399) 2016-03-23 22:25:14 +01:00
Karl Yngve Lervåg
1aabb84fa7 Remove broken bar delimiters (#398) 2016-03-23 21:31:53 +01:00
Karl Yngve Lervåg
22d9c8db47 Preserve visual state for tsd (#258) 2016-03-22 11:42:59 +01:00
Karl Yngve Lervåg
d164a031e1 Add tsd for visual mode (#258) 2016-03-22 08:34:26 +01:00
Karl Yngve Lervåg
afde6ee93b Fix #392 - allow options for externaldocuments
This also improves the code flow for the label completion, and it
allows separate caches for each individual project aux file.
2016-03-21 21:58:05 +01:00
Karl Yngve Lervåg
f5898790c4 Remove ( and ) from general tex delimiters (#396) 2016-03-20 13:22:32 +01:00
Karl Yngve Lervåg
972142d45d Add support for externaldocuments (#392) 2016-03-20 13:13:18 +01:00
Karl Yngve Lervåg
939aae3fdb Add vimtex#parser#get_externalfiles 2016-03-20 13:12:24 +01:00
Karl Yngve Lervåg
ef2dcd0044 Improve options for parser engine 2016-03-20 13:11:40 +01:00
Karl Yngve Lervåg
04cc79edc2 Fix #385: Close quickfix window on exit 2016-03-16 21:49:21 +01:00
Karl Yngve Lervåg
4ecf478faf Add support for optional arguments to env delim
Fixes: #381
2016-03-08 22:34:04 +01:00
Karl Yngve Lervåg
e2c2438cbe Make text object linewise for some operators (#365) 2016-03-08 22:05:12 +01:00
Karl Yngve Lervåg
4ea297bc60 Increase delay to avoid double zathura 2016-03-08 10:03:16 +01:00
Karl Yngve Lervåg
2fd3a4ba96 Add option for stopline tolerance (#386) 2016-03-05 22:43:53 +01:00
Karl Yngve Lervåg
cc08da3f9e Increase stopline tolerance (fixes #386) 2016-03-03 22:45:41 +01:00
Karl Yngve Lervåg
f0a9f1c774 Add short delay to prevent multiple zathura buffers 2016-03-03 21:46:17 +01:00
Karl Yngve Lervåg
033da30308 Added latexmk callback hook (#383) 2016-02-28 21:36:53 +01:00
Karl Yngve Lervåg
ec5e0df360 Minor refactoring of text objects (#365) 2016-02-23 23:01:19 +01:00
Karl Yngve Lervåg
8c170061d3 Source indent file during reloading 2016-02-23 21:03:53 +01:00
Karl Yngve Lervåg
8d10513da3 Fix #376: Improve ]] mapping 2016-02-21 21:58:47 +01:00
Karl Yngve Lervåg
a21eeadc5e Fix glc -> gls (#263) 2016-02-18 08:25:14 +01:00
Karl Yngve Lervåg
bea99a59e8 Fix silly mistake 2016-02-18 08:08:49 +01:00
Karl Yngve Lervåg
6cf055f9ae Yet another update on complete patterns 2016-02-17 23:12:59 +01:00
Karl Yngve Lervåg
9c498a7c08 Merged with master 2016-02-17 23:07:17 +01:00
Karl Yngve Lervåg
12dfaf954a Merged with master 2016-02-17 23:02:52 +01:00
Karl Yngve Lervåg
3145d2554f Minor adjustment of complete pattern regexps 2016-02-17 22:52:07 +01:00
Karl Yngve Lervåg
2e8c4c0f4e Merge pull request #358 from djt308/regex-cite
Alter regex for \cite to allow [0,1,2] optional arguments, eg \parencite[arg1][arg2]{key}
2016-02-17 22:46:20 +01:00
David Tracey
ec05a86c7b Remove superfluous \ and {} 2016-02-16 22:43:23 +00:00
David Tracey
c5111aa820 Remove superfluous \ and {} 2016-02-16 22:41:06 +00:00
David Tracey
b43e77bdc0 Remove superfluous \ and {} 2016-02-16 22:37:06 +00:00
Karl Yngve Lervåg
f5ebcce922 Fix minor bug (#367) 2016-02-16 22:35:09 +01:00
Karl Yngve Lervåg
0fdac8f459 Fix #363 - Problem with label completion 2016-02-16 13:14:42 +01:00
Karl Yngve Lervåg
5b81b157aa Updated default imaps (#366) 2016-02-16 11:42:09 +01:00
Karl Yngve Lervåg
cc394a490e Remove bad imaps (#366) 2016-02-16 11:25:02 +01:00
Karl Yngve Lervåg
ea0ccc8c1b Fix #364 - minor bug 2016-02-15 17:56:49 +01:00
Karl Yngve Lervåg
12b61401e6 Fix #362 - error in delim regexps 2016-02-14 19:16:20 +01:00
Karl Yngve Lervåg
c6b0d6e994 Fixed vimtex#cmd#create() (fixes #336) 2016-02-14 10:46:36 +01:00
Karl Yngve Lervåg
404a8959b9 Minor clean up after #357
- Remove `\` from match groups `[^...]`
- Update 'include' option to allow includeonly
2016-02-14 09:25:41 +01:00
Karl Yngve Lervåg
4bb7cda82b Merge pull request #357 from djt308/regex-include
Alter regex for \include to allow completion for \includeonly as well.
2016-02-14 09:06:54 +01:00
David Tracey
38594e0ca7 Alter regex for \includegraphics to provide completion for up to two optional arguments and the starred version. 2016-02-14 01:39:42 +00:00
David Tracey
c6596503a8 Alter regex for \ref to provide completion for most cleveref commands. 2016-02-14 01:27:36 +00:00
David Tracey
2a151dd4f2 Alter regex for \cite to allow [0,1,2] optional arguments, e.g. \parencite[arg1][arg2]{key}. 2016-02-14 00:58:02 +00:00
David Tracey
4e2380bdb9 Alter regex for \include to allow completion for \includeonly as well. 2016-02-14 00:32:53 +00:00
Karl Yngve Lervåg
daed29fe96 Update cse and dse, add cs$ and ds$ (#351) 2016-02-13 22:45:14 +01:00
Karl Yngve Lervåg
afc7a86833 Optimized delimiter parsing (#354) 2016-02-13 22:29:13 +01:00
Karl Yngve Lervåg
02b718825a Improve text object inner matching (fixes #352) 2016-02-13 22:07:57 +01:00
Karl Yngve Lervåg
f73183eefc Updated csc and dsc, use new cmd interface (#244) 2016-02-13 12:03:20 +01:00
Karl Yngve Lervåg
7a7299c2e8 Added text object for commands (#244) 2016-02-13 11:39:18 +01:00
Karl Yngve Lervåg
61ec408961 Added functions to get cmd info 2016-02-12 00:18:33 +01:00
Karl Yngve Lervåg
4521f587bb Fixed minor bug in env#change_prompt() 2016-02-11 12:43:44 +01:00
Karl Yngve Lervåg
d536242a53 Better delimiter control for environments 2016-02-10 18:57:46 +01:00
Karl Yngve Lervåg
ef4c758b7a Fix mapping conflict with matchit plugin 2016-02-09 21:42:48 +01:00
Karl Yngve Lervåg
7aac7ee48f Fix #349 - minor bug 2016-02-09 21:01:30 +01:00
Karl Yngve Lervåg
64f6c49dfb Fix minor bug 2016-02-09 20:25:52 +01:00