Commit Graph

785 Commits

Author SHA1 Message Date
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
Karl Yngve Lervåg
7ba646effb Fixed #451: Space in bstfile for bib completion 2016-05-09 22:52:31 +02:00
Karl Yngve Lervåg
ba53cb674a Fix #447: Wrong paths in quickfix entries 2016-05-01 22:47:47 +02:00
Karl Yngve Lervåg
6937f723d1 Don't open second viewer on compilation 2016-04-30 22:30:19 +02:00
Karl Yngve Lervåg
2b5b81c427 Fix minor bug in xdotool cmd 2016-04-30 22:29:41 +02:00
Karl Yngve Lervåg
282baf2366 Detect existing windows on startup 2016-04-30 22:02:25 +02:00
Karl Yngve Lervåg
ee25e4ad0a Check for existing windows if xwin_id=0 2016-04-30 22:01:52 +02:00
Karl Yngve Lervåg
e9743857c3 Improve xwin_exists logic 2016-04-30 22:01:01 +02:00
Karl Yngve Lervåg
7404bd6933 Fix minor bug 2016-04-30 21:56:02 +02:00
Karl Yngve Lervåg
75160c85af More consistent delay for parsing viewer xwin_id 2016-04-30 21:55:46 +02:00
Karl Yngve Lervåg
9038e4066c Fixed minor error 2016-04-28 23:33:01 +02:00
Karl Yngve Lervåg
b514c42cee Fixed #446: Optimized tikz indentation 2016-04-28 23:27:34 +02:00
Karl Yngve Lervåg
3c3f21588c Fixed #441: Use paths relative to main project file 2016-04-23 12:12:17 +02:00
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