Commit Graph

667 Commits

Author SHA1 Message Date
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
Karl Yngve Lervåg
dfb91ecd47 Fix #347: Default g:vimtex_delim_toggle_mod_list 2016-02-09 12:35:28 +01:00
Karl Yngve Lervåg
ec7d682280 Use buffer specific autocmds 2016-02-07 21:26:03 +01:00
Karl Yngve Lervåg
9c3d0fbcd4 Fix #316 - bug with starred environments 2016-02-07 21:25:40 +01:00
Karl Yngve Lervåg
015987af5f Remove conversions that might not be necessary
Fixes: #337
2016-02-07 13:18:30 +01:00
Karl Yngve Lervåg
dfbe3f0c4b Minor improvements to feature added in #346 2016-02-07 12:48:40 +01:00
Anmol Sethi
858dd7afe0 New general callback and expand @line for general_options_latexmk
This allows us to open the file currently where the cursor is, and the
callback lets people implement scripts as they like it to open their
favourite pdf viewer with the line number after compilation. latexmk's
pdf_update_command doesn't let us do that.
2016-02-06 18:08:48 -05:00
Karl Yngve Lervåg
490a24daf0 A huge refactoring of the delimiter engine
See entry on 2016-02-06 in the changelog in doc/vimtex.txt,
:h vimtex-changelog, for more details.

Issues:
  #258
  #314
  #316
  #329
2016-02-06 20:21:27 +01:00
Karl Yngve Lervåg
52bd7ae47b Refactoring: Extract formatexpr module 2016-02-06 20:03:09 +01:00
Karl Yngve Lervåg
e66badf1d6 Fix vimtex unite source for multi byte chars (#330) 2016-01-28 19:42:58 +01:00
Karl Yngve Lervåg
953d1570e6 Fix #332: Create missing directories if necessary 2016-01-27 18:54:23 +01:00
Karl Yngve Lervåg
105093a070 Improved unite vimtex_toc source 2016-01-27 15:22:41 +01:00
Karl Yngve Lervåg
04568eda4f Don't use b:vimtex unless it exists 2016-01-26 23:09:31 +01:00
Karl Yngve Lervåg
6fe1d77eaf Unify interface for highlight group init 2016-01-26 23:08:07 +01:00
Karl Yngve Lervåg
c8fb598ae7 Fixed #331 - error in unicode conversion 2016-01-26 22:37:29 +01:00
Karl Yngve Lervåg
01adbfe579 Added unite source for table of labels (#330) 2016-01-25 22:42:04 +01:00
Karl Yngve Lervåg
0aa80b3040 Minor fix/improvement to TOC entries 2016-01-25 22:25:59 +01:00
Karl Yngve Lervåg
d11a775ef7 Add syntax to unite TOC source (#330) 2016-01-25 22:25:36 +01:00
Karl Yngve Lervåg
a35bcaf5c1 Don't overwrite user mappings 2016-01-25 20:11:57 +01:00
Karl Yngve Lervåg
c02447b805 Improve unite source entries (#330) 2016-01-24 23:26:49 +01:00
Karl Yngve Lervåg
3b94a6e6b8 Add action to unite source (#330) 2016-01-24 23:11:39 +01:00
Karl Yngve Lervåg
4998af215a Initial unite source for TOC (#330) 2016-01-24 23:02:33 +01:00
Karl Yngve Lervåg
248bbeed2e Refactored: extracted text_obj.vim from motion.vim 2016-01-21 22:48:04 +01:00
Karl Yngve Lervåg
45733b79af Updated syntax parser utilities 2016-01-21 21:11:11 +01:00
Karl Yngve Lervåg
1aedd5a746 Use "old version" of globpath (fixes #328) 2016-01-15 23:45:25 +01:00
Karl Yngve Lervåg
61c7aca7bc Final change of name -> VimtexToggleMain (#211) 2016-01-15 23:37:08 +01:00
Karl Yngve Lervåg
0467d9ca47 Allow toggle to local file regardless of subfile (#211) 2016-01-14 22:19:12 +01:00
Karl Yngve Lervåg
987fa7c130 Updated default key for subfile toggle (#211) 2016-01-14 15:06:26 +01:00
Karl Yngve Lervåg
38aaf18dc5 Fix minor bug in latexmk.vim 2016-01-14 14:58:18 +01:00
Karl Yngve Lervåg
55979afc7d Added support for compile only subfile (#211, #280) 2016-01-14 14:57:35 +01:00
Karl Yngve Lervåg
a0e116efdb Improved code for s:get_main() 2016-01-13 23:31:59 +01:00
Karl Yngve Lervåg
39d06eec48 Minor fix to TOC section title parse regexp 2016-01-12 23:21:02 +01:00
Karl Yngve Lervåg
56d4f39c32 Fix #218 - Support subfiles TOC parsing 2016-01-12 23:20:32 +01:00
Karl Yngve Lervåg
5fddae9c50 Fix vimtex#imaps#add_map for post initialization 2016-01-12 23:16:22 +01:00
Karl Yngve Lervåg
25cdfa6bb1 Fix #241 - Add support for import package 2016-01-12 23:14:02 +01:00
Karl Yngve Lervåg
8376de34d3 Updated default imaps (#251) 2016-01-12 12:52:57 +01:00
Karl Yngve Lervåg
ee2f2d62ab Revert last commit (#319) 2016-01-12 09:38:47 +01:00
Karl Yngve Lervåg
97927e65f9 Fix #319 - Fold bibliographies 2016-01-11 21:45:02 +01:00
Karl Yngve Lervåg
ab8d7ffc45 Minor optimization to folding 2016-01-11 21:43:14 +01:00
Karl Yngve Lervåg
b286a37c48 Fix #318: operator pending motion { } 2016-01-11 17:24:09 +01:00
Karl Yngve Lervåg
e37476e8ad Fix #318: Allow count for { } motions 2016-01-11 17:21:25 +01:00
Karl Yngve Lervåg
2544297757 Fixes #315 - add support for \( ... \) text object 2016-01-08 22:51:08 +01:00