Commit Graph

860 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
a8df5777a7 Fixed #548: Multi-line TOC entries and more 2016-10-20 22:30:46 +02:00
Karl Yngve Lervåg
e0630ee223 Cf. #548: Add support for short versions 2016-10-20 21:15:21 +02:00
Karl Yngve Lervåg
0cefdc304e Fixed #541: Add b:vimtex.sources
This allows the desired type of customization.
2016-10-20 21:01:33 +02:00
Karl Yngve Lervåg
a3038f6672 Fixed minor bug in vimtex#info 2016-10-20 21:00:57 +02:00
Karl Yngve Lervåg
5446d04d2e Fixed #593: Autocmd conflicts 2016-10-19 13:15:30 +02:00
Karl Yngve Lervåg
ab9087a8a1 Fix minor stupid bug 2016-10-19 12:59:15 +02:00
Karl Yngve Lervåg
d023d776a5 Cf. #590: Add fold text and improve fold detect 2016-10-17 22:49:18 +02:00
Karl Yngve Lervåg
4f829fe694 Cf. #566: Allow "duplicate" mappings 2016-10-17 22:40:41 +02:00
Karl Yngve Lervåg
a0152c0691 Fix #566: Implement wrap_environment 2016-10-17 22:35:04 +02:00
Karl Yngve Lervåg
074fb6c8d2 Fix #590: Add support for fold markers 2016-10-16 10:52:02 +02:00
Karl Yngve Lervåg
4249328a06 Fixed #592: Better handling of delimiter indentation 2016-10-13 09:41:28 +02:00
Karl Yngve Lervåg
b16e29f4d7 Fix #584: Make dsc remove brackets 2016-10-02 23:14:07 +02:00
Karl Yngve Lervåg
2646e5fe64 Minor fix 2016-10-02 15:56:19 +02:00
Karl Yngve Lervåg
57aeb0fe63 Implement #571: Fold newcommands and similar 2016-10-02 15:42:32 +02:00
Karl Yngve Lervåg
9ee94751e7 Fix #572: Better parsing of sectioning titles 2016-10-01 19:41:37 +02:00
Karl Yngve Lervåg
854a031258 Minor clean up of fold text code 2016-10-01 19:41:07 +02:00
Karl Yngve Lervåg
86eac00906 Fixed #581: Set quickfix title 2016-10-01 09:36:26 +02:00
Karl Yngve Lervåg
17210b4229 Fix #575: Another undefined variable 2016-09-28 10:20:02 +02:00
Karl Yngve Lervåg
12990d2170 Fixed #575: Handle undefined option 2016-09-28 08:12:20 +02:00
blyoa
432dee6982 Avoid doautocmd warning 2016-09-27 12:48:34 +02:00
Karl Yngve Lervåg
b1d8de600f Added option g:vimtex_view_automatic
This makes it possible to disable the automatic opening of viewer
window when compilation is started.
2016-09-26 22:45:42 +02:00
Karl Yngve Lervåg
87e186b4ab Cf. #537: Added events for start/stop compilation 2016-09-26 22:13:27 +02:00
Karl Yngve Lervåg
e002e8cf78 Fix #568: Regression bug with latexmk viewer hooks 2016-09-26 18:13:24 +02:00
Karl Yngve Lervåg
822d304f47 Fixed #565: Stupid bug 2016-09-25 22:20:10 +02:00
Karl Yngve Lervåg
f7e11c9770 Cf. #537: Improved updating of output buffer 2016-09-20 23:28:46 +02:00
Karl Yngve Lervåg
46c3c4e459 Fixed #555: Wrong handling of QuitPre event 2016-09-17 22:13:44 +02:00
Karl Yngve Lervåg
4ba99f83bd Fixed #551: Ensure fully buffer local variables
This commit also involves a strong refactoring of the viewer code,
where individual viewers (general, mupdf, zathura) are separated into
individual modules. This makes it easier to distinguish common and
specialized code, as well as making the viewer interfaces clearer.
2016-09-17 12:43:37 +02:00
Karl Yngve Lervåg
4df9f85e45 Fix #558: escape backslash for imaps 2016-09-17 12:28:52 +02:00
Karl Yngve Lervåg
e238b4e345 Improve detection of latexmk started viewers
This is for mupdf and zathura.
2016-09-15 20:38:35 +02:00
Karl Yngve Lervåg
7e2793d4e3 Cf. #532: Improved vimtex-include system 2016-09-13 23:09:32 +02:00
Karl Yngve Lervåg
1fa42b7f64 Fix bug with unite ToC 2016-09-13 23:06:32 +02:00
Karl Yngve Lervåg
2559a85105 Fix #532: Add support for vimtex-includes in ToC 2016-09-13 22:48:54 +02:00
Karl Yngve Lervåg
e3028cb9cd Cf. #544: Minor fix 2016-09-12 21:39:24 +02:00
Karl Yngve Lervåg
02768f5bad Fix #549: Ensure alternate buffer is untouched
Also fixed minor issue with bufwipeout.
2016-09-12 20:59:34 +02:00
Karl Yngve Lervåg
be6d03b7cc Fix #544: Handle long lines while formatting 2016-09-11 23:26:53 +02:00
Karl Yngve Lervåg
469731f764 Cf. #532: Also complete tikz and pgf files 2016-09-11 22:49:53 +02:00
Karl Yngve Lervåg
275304e824 Fix #543: Ensure space between lcd and path 2016-09-10 22:37:07 +02:00
Karl Yngve Lervåg
f9f1dd5c29 Cf. #531: Minor tweak to label complete caching 2016-09-10 22:34:54 +02:00
Karl Yngve Lervåg
a8c6d43f71 Cf. #539: Less aggressive redraw 2016-09-08 22:23:31 +02:00
Karl Yngve Lervåg
ce11d06130 Fixed #536: handle removal of buffers 2016-09-08 22:18:04 +02:00
Karl Yngve Lervåg
a5e0b737dc Cf. #535: Improve latexmain main getter 2016-09-01 22:29:23 +02:00
Karl Yngve Lervåg
a27f4dc6e7 Fix stupid mistake 2016-09-01 22:13:21 +02:00
Karl Yngve Lervåg
d888c95a69 Cf. #535: Check if current file is main first
Also some minor refactoring and improvements.
2016-09-01 21:47:03 +02:00
Karl Yngve Lervåg
dd6a04fea4 Add [thebibliography] as indicator for cite completion
Ref. #531
2016-08-25 22:26:02 +02:00
Karl Yngve Lervåg
04ed865eff Fixed #534: Syntax highlighting in ToC 2016-08-25 21:36:41 +02:00
Justin
a60c0d51fe Fix typo (#533) 2016-08-25 15:21:41 +02:00
Karl Yngve Lervåg
7244f48322 Fixed #531: Error in cite compl. of thebibliography 2016-08-25 09:34:06 +02:00
Karl Yngve Lervåg
8d75f01cdd Fixed #530: Support opening indexes in current window 2016-08-23 22:00:48 +02:00
Karl Yngve Lervåg
cc068c30c5 Don't sleep unless necessary 2016-08-23 15:46:21 +02:00
Karl Yngve Lervåg
3675cbc7a9 Fixed #529: Only remap gg for index/TOC if needed 2016-08-23 10:38:44 +02:00
Karl Yngve Lervåg
5bc5b14ae2 Fixed minor issue related to #527 2016-08-19 21:46:40 +02:00
Karl Yngve Lervåg
a7d8a94500 Fix a minor bug (#524) 2016-08-13 22:23:42 +02:00
Karl Yngve Lervåg
83d32b4554 Better handling of comments during formatting (#524) 2016-08-13 22:09:13 +02:00
Karl Yngve Lervåg
c9141396bf Revert 665c895 (neocomplete was fixed) (#512) 2016-08-13 12:13:03 +02:00
Karl Yngve Lervåg
138f6f4515 Fix #521: Don't copy files on forward_search 2016-08-11 10:40:33 +02:00
Karl Yngve Lervåg
fe4e9a4eb4 Add warning if ToC opened from bib first (#520) 2016-08-10 20:23:27 +02:00
Karl Yngve Lervåg
5f5b147d78 Script init should not be wrapped in functions 2016-08-10 20:23:03 +02:00
benutzer193
12442a74cc Escape path for lcd (#519)
* Escape Spaces in filepath

Fixes error, when lcd tries to change folder to Root folder containing spaces.

* fnameescape(path) instead of escape(path, ' ')
2016-08-10 11:13:25 +02:00
Karl Yngve Lervåg
3d86795eb1 Fixed another bug with TOC includes (#518) 2016-08-09 21:50:07 +02:00
Karl Yngve Lervåg
0aa85a6c9d Fixed #518: Problem with bib file in TOC 2016-08-09 21:34:26 +02:00
Karl Yngve Lervåg
a48df211a0 Ref. #517: Use internal formatter for insert mode 2016-08-08 23:27:34 +02:00
Karl Yngve Lervåg
326fd857a1 Fixed #513: Unecessarily complex regexes 2016-08-08 22:14:50 +02:00
benutzer193
c56e893fd0 Small Fix: Add escape characters (#516)
Add missing escape characters in commit 774ca72270
2016-08-07 23:41:43 +02:00
Karl Yngve Lervåg
774ca72270 Include titlepage in TOC (#508) 2016-08-07 22:15:37 +02:00
Karl Yngve Lervåg
618f455d34 Updated implementation of #443 2016-08-06 20:02:52 +02:00
Karl Yngve Lervåg
c132b3db24 Don't require pgrep unless necessary 2016-08-06 09:34:00 +02:00
Karl Yngve Lervåg
575b9b018f Ref #511: respect indent of first line during formatting 2016-08-06 09:05:40 +02:00
Karl Yngve Lervåg
4e7fd6e04b Support opening style and class files
This will use the alternate buffer's vimtex data if it exists, else it will
ignore the vimtex initialization.
2016-08-05 11:12:37 +02:00
Karl Yngve Lervåg
c05bf59a0c Fixed silly mistake 2016-08-05 10:27:05 +02:00
Karl Yngve Lervåg
a67f5dc86c Some updates to zathura_alternative 2016-08-05 09:58:12 +02:00
Karl Yngve Lervåg
34be859a90 Fix #512: strange problem with neocomplete 2016-08-05 08:30:22 +02:00
Karl Yngve Lervåg
665c895ace Fix 1 for #512: Use 79 when tw=0 2016-08-05 08:10:50 +02:00
Karl Yngve Lervåg
1063e822d6 Ref. #443: Fixed forward search 2016-08-04 23:51:55 +02:00
Karl Yngve Lervåg
be32f5651d Minor adjustment 2016-08-04 23:27:56 +02:00
Karl Yngve Lervåg
39a0398f95 Some updates to zathura_alternative 2016-08-04 23:18:56 +02:00
Karl Yngve Lervåg
dbad1dbee7 Fixed #508 2016-08-04 23:02:36 +02:00
Karl Yngve Lervåg
9b12cbd91e First try at #443: Persistent zathura 2016-08-04 22:45:35 +02:00
Karl Yngve Lervåg
0a75bec76a Minor refactoring 2016-08-04 22:12:18 +02:00
Karl Yngve Lervåg
2a849ee67a Improved latexmk callbacks for mupdf/zathura 2016-08-04 21:31:29 +02:00
Karl Yngve Lervåg
0163810065 Some minor code cleaning 2016-08-04 21:30:24 +02:00
Karl Yngve Lervåg
1d546ecc4f Fixed #508: Remove option and filter TOC entries 2016-08-04 20:59:21 +02:00
Karl Yngve Lervåg
e20502c819 Fixed #508: Added feature to show inputted lines in TOC 2016-08-02 22:55:03 +02:00
Karl Yngve Lervåg
110837e71a Fixed formatexpr for insert mode 2016-08-02 21:55:32 +02:00
Karl Yngve Lervåg
5e4e8ef3ef Fixed silly issue for older vims
For some reason, on Vim 7.4.5 (tested with Travis), the line

  l:lines_old = l:lines_old[l:index:]

did not work properly. This works properly with newer Vims, but
this commit fixes it for older Vims.
2016-08-02 21:20:53 +02:00
Karl Yngve Lervåg
3532a6930e Use vimtex warnings, not echoerr 2016-08-02 21:17:09 +02:00
Karl Yngve Lervåg
2549432f3b Ensure that formatted messages start on new line 2016-08-02 21:16:52 +02:00
Karl Yngve Lervåg
0fdaee31ed Completed a fully custom formatexpr (#436) 2016-08-01 22:57:43 +02:00
Karl Yngve Lervåg
b82a8d3798 Fixed minor bug (#436) 2016-07-31 23:12:58 +02:00
Karl Yngve Lervåg
bcbcb2a1b8 Another improvement to import support (#500) 2016-07-31 20:55:48 +02:00
Karl Yngve Lervåg
ae3e32a8e2 Fix #500: Improve support for import package 2016-07-31 00:13:50 +02:00
Karl Yngve Lervåg
d733c249f6 Fixed #505: Handle match IDs as per window objects 2016-07-30 20:05:27 +02:00
Karl Yngve Lervåg
b076d2f72a Fixed #506: Syntax group for help text in ToL 2016-07-30 19:59:50 +02:00
Karl Yngve Lervåg
44e605dbf2 Minor clean up 2016-07-28 22:36:54 +02:00
Christian Mueller
0167c93253 Change order of arguments in s:zathura.start (#504) 2016-07-28 22:29:44 +02:00
Karl Yngve Lervåg
930659bc5e Fix #503: Handle \eqref as \ref{eq: 2016-07-28 19:33:05 +02:00
Karl Yngve Lervåg
c5f8b5d9d3 Fixed the reload guard 2016-07-28 14:01:37 +02:00
Karl Yngve Lervåg
2479aaa37c Fix #502: Handle case where s:completer not defined 2016-07-27 10:01:06 +02:00
Karl Yngve Lervåg
e66c07ff8f Don't format lines inside math envs (#436) 2016-07-24 21:57:29 +02:00
Karl Yngve Lervåg
929d4d8f42 First version of selected compile (#497) 2016-07-23 23:49:01 +02:00
Karl Yngve Lervåg
aeeb52be1a Generalize functions: clean and errors_inquire 2016-07-23 23:45:07 +02:00