Commit Graph

820 Commits

Author SHA1 Message Date
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
Karl Yngve Lervåg
136bb86896 Minor fix to parser code 2016-07-23 23:41:48 +02:00
Karl Yngve Lervåg
61a86e6fa8 Fixed #495: Allow <[local]leader> as leader key 2016-07-22 20:05:11 +02:00
Karl Yngve Lervåg
f5ba71c152 Fix minor bug 2016-07-21 22:01:17 +02:00
Karl Yngve Lervåg
09eb78fcd0 Began #436: Improved formatexpr 2016-07-21 21:52:41 +02:00
Micha Moskovic
1077606f76 always define 'g:vimtex_latexmk_callback_hooks' (#498)
the variable 'g:vimtex_latexmk_callback_hooks' is referred to in
autoload/vimtex/view.vim, so it needs to be defined also if
'g:vimtex_latexmk_enabled' is false.
2016-07-21 12:57:36 +02:00
Karl Yngve Lervåg
47dca26d93 Better handle warning wait for new files (#494) 2016-07-20 20:29:42 +02:00
Karl Yngve Lervåg
a988d49e42 Fix #495: Properly handle quotes in imaps 2016-07-20 20:22:42 +02:00
Karl Yngve Lervåg
a80a2600b0 Fix #493: Improved highlight matching delims 2016-07-18 22:15:43 +02:00
Karl Yngve Lervåg
4cd12fc324 Fix #492: Support older Vim versions 2016-07-15 12:04:40 +02:00
Karl Yngve Lervåg
d45c5595e9 Fixed #445: Add support for non-matching delims 2016-07-13 23:27:27 +02:00
Karl Yngve Lervåg
5553b43804 Add option to ignore wait (e.g. after warnings) 2016-07-12 22:24:28 +02:00
Karl Yngve Lervåg
9207c40d8a Updated messages and warnings
Also fixed clientserver detection for neovim (i.e. use
has('nvim')), cf. #262.
2016-07-12 22:07:17 +02:00
Karl Yngve Lervåg
39fe7b5170 Fixed #477: Add folding for documentclass 2016-07-12 15:06:28 +02:00
Karl Yngve Lervåg
3ec4b49656 Added option for folding of usepackage (#477) 2016-07-12 09:06:21 +02:00
Karl Yngve Lervåg
3dc482db10 Fixed minor error (#477) 2016-07-12 08:59:23 +02:00
Karl Yngve Lervåg
f6deaa6ccf Cf. #477: Add folding for usepackages 2016-07-11 23:44:37 +02:00
Karl Yngve Lervåg
c16bd14709 Optimized s:highlight_matching_pair 2016-07-10 17:57:54 +02:00
Karl Yngve Lervåg
f33e4f9777 Minor fix 2016-07-10 17:57:26 +02:00
Karl Yngve Lervåg
69ad595894 Fix #490: Only fix paths for vimtex 2016-07-06 13:40:02 +02:00
Karl Yngve Lervåg
63d9586347 Cf. #483: Check for clientserver 2016-07-04 13:09:44 +02:00
Karl Yngve Lervåg
7234c5a64f Fixed #486: Relax the map guard 2016-06-28 15:13:51 +02:00
Karl Yngve Lervåg
3494d32a67 Fix #480: simplify paths 2016-06-22 22:31:42 +02:00
Karl Yngve Lervåg
6bcff44f05 Fix #480: Use absolute paths 2016-06-21 11:31:20 +02:00
Karl Yngve Lervåg
304b760624 Fixed #479: Add %-motion to jumplist 2016-06-20 23:29:26 +02:00
Karl Yngve Lervåg
1211d57253 Filter completion candidates by supplied regexp (#471) 2016-06-14 10:25:00 +02:00
Matthias Günther
b40c4103ac Relates to #472 (#476)
* Add option vimtex_fold_section_character for custom fold characters

* Add changes from codereview

* Rename fold-levelmarker variable, thanks @lervag for the review
2016-06-13 18:45:18 +02:00
Karl Yngve Lervåg
ec882ca802 Minor update to changes from #474 2016-06-13 13:55:42 +02:00
Matthias Günther
36442d4c4f Add option vimtex_fold_section_character for custom fold characters (#472)
* Add option g:vimtex_fold_section_character for custom fold characters
* Add changes from codereview
2016-06-13 13:52:15 +02:00
Karl Yngve Lervåg
456de02119 Fixed #470 2016-06-09 17:13:23 +02:00
Karl Yngve Lervåg
455fb3ff2c Fix #469: erroneously always applied :t 2016-06-08 16:17:11 +02:00
Karl Yngve Lervåg
6e9dae11a4 Added VimtexCountLetters
Also changed name: VimtexWordCount to VimtexCountWords
2016-06-07 15:24:27 +02:00
Karl Yngve Lervåg
e70c0b469c Fixed #465 2016-06-04 13:58:24 +02:00
Karl Yngve Lervåg
f921fdb90d Add custom uniq function (support older Vim versions) 2016-06-04 13:41:13 +02:00
Karl Yngve Lervåg
1763cd3ae9 Add tests for cse 2016-05-31 23:59:26 +02:00
Karl Yngve Lervåg
2d816d7559 Remove unnecessary option (#457) 2016-05-31 18:19:01 +02:00
Karl Yngve Lervåg
ed1093839e Fix #463: don't swallow leader outside math 2016-05-31 12:56:18 +02:00
Karl Yngve Lervåg
2d6685119e Feature #457: Smart autocomplete for 'cse' envs 2016-05-29 23:41:13 +02:00
Karl Yngve Lervåg
4e6d1dcf0b Added some aknowledgment to stactrace feature 2016-05-15 11:44:19 +02:00
Karl Yngve Lervåg
e910afe5ac Minor clean up 2016-05-15 11:24:03 +02:00
Karl Yngve Lervåg
84181b1454 Added stacktrace feature for debugging 2016-05-15 11:22:43 +02:00