Commit Graph

308 Commits

Author SHA1 Message Date
Karl Yngve Lervåg
e74fc287ed Improved support for subfiles package (#155)
Added parsing of main file from `\documentclass[main.tex]{subfiles}`.
2015-04-29 15:40:08 +02:00
Karl Yngve Lervåg
566463fbf8 Use tasklist instead of qprocess (#154)
This commit is mostly intended in order to test whether tasklist is acceptable
as the only option for getting PIDs on windows.  The command used here is based
on the information provided in the github issue thread (#154).
2015-04-29 15:16:44 +02:00
Karl Yngve Lervåg
6156160290 Fix compatibility with older vim versions (#154) 2015-04-29 15:02:26 +02:00
Karl Yngve Lervåg
299f51c0c7 Fix conditionals (cf. #157) 2015-04-27 10:20:36 +02:00
Karl Yngve Lervåg
07496f18c0 Minor bug fix 2015-04-26 09:49:57 +02:00
Karl Yngve Lervåg
704baf8652 Support argument for VimtexView (fixes #157) 2015-04-26 09:48:24 +02:00
Karl Yngve Lervåg
3d2f90a7b7 Improve vimL 2015-04-26 09:26:49 +02:00
Karl Yngve Lervåg
3f62338895 Add buffer var for main file (fixes #155) 2015-04-26 09:02:28 +02:00
Karl Yngve Lervåg
710c6f3d7a Minor simplification/update after #158 2015-04-23 07:49:09 +02:00
Juan Ignacio Polanco
5cd1c75ee9 Fix infinite recursion with multi-file projects
Fix infinite recursion when looking for the main tex file, in
s:get_main_recurse. This is done by avoiding calls to that function over a
single file more than once.
2015-04-22 19:29:47 -03:00
Juan Ignacio Polanco
a6e4f6d3df Fix multi-file projects using "%! TEX" header
Main file was loaded incorrectly when the path in the header was relative.
In that case, it was assumed that the path was relative to the current
directory (:pwd), when it should be relative to the path of the current file
('%:h').
2015-04-22 18:54:09 -03:00
Karl Yngve Lervåg
714e590663 Fix viewer issue (#154) 2015-04-14 17:08:36 +02:00
Spencer Michaels
c48062ff4a Add a space after the '-c' flag in latexmk#clean.
Previously the lack of a space after '-c' would cause VimtexClean
to silently fail when not performing a full clean.
2015-04-13 20:56:44 -07:00
Karl Yngve Lervåg
1dad424c2c Trim returned fold text (closes #149)
Also added a short comment on 'fillchars' to docs.
2015-04-09 07:51:33 +02:00
Karl Yngve Lervåg
823c4cf037 Merge pull request #147 from micbou/youcompleteme
Improve docs for Youcompleteme
2015-04-07 10:12:52 +02:00
Karl Yngve Lervåg
c21fdb4369 Fixed syntax for fish shell (fixes #148) 2015-04-07 10:11:36 +02:00
Karl Yngve Lervåg
7ac9370576 Use portable shell redirects (see #148) 2015-04-07 10:06:18 +02:00
micbou
00d05d2eb8 Always return a value in complete#omnifunc 2015-04-06 18:27:51 +02:00
micbou
43a12a5621 Fix util#execute on Windows 2015-04-06 13:52:09 +02:00
Karl Yngve Lervåg
8e537d80c1 Use robust operators 2015-04-05 20:36:41 +02:00
Karl Yngve Lervåg
41bbce7520 Reorder mappings for code clarity 2015-04-05 20:36:06 +02:00
Konfekt
5c8247b2aa correct type 2015-04-03 22:26:31 +02:00
Konfekt
3687fc268f silence mappings and make operator maps more robust
This makes the operator mappings work if not all of the following
conditions are fulfilled: 

- `v` entered character-wise or block-wise visual mode, and
- the visual mode map was mapped to the default key sequence
2015-04-03 22:24:54 +02:00
Karl Yngve Lervåg
2a15ff0bc1 Use system(...) to avoid redraw (fixes #142) 2015-04-02 20:06:57 +02:00
Karl Yngve Lervåg
f70279c4ed Minor update of util#execute 2015-04-02 20:05:07 +02:00
Karl Yngve Lervåg
ef80217ffc Updated includeexpr to parse \space's 2015-04-01 15:57:02 +02:00
Karl Yngve Lervåg
97f0fa45b8 Use options from Ben Fishers filetype plugin 2015-04-01 15:56:27 +02:00
Karl Yngve Lervåg
da69a60312 Minor change of init structure 2015-04-01 15:54:14 +02:00
Karl Yngve Lervåg
ca29d624bc Moved some options 2015-04-01 15:52:48 +02:00
Karl Yngve Lervåg
8fac072469 Use g:vimtex_index_split_width correctly (fixes #140) 2015-03-31 15:44:36 +02:00
Karl Yngve Lervåg
f77df6eb6a Improve vimscript code 2015-03-24 14:32:49 +01:00
Karl Yngve Lervåg
9f4cbead8c Change default value of automatic folding 2015-03-24 14:32:30 +01:00
Karl Yngve Lervåg
d53d85404f Remove strange indent in index print_entries 2015-03-24 14:22:37 +01:00
Karl Yngve Lervåg
4cbdfc4fcc Excl preamble inputs in ToC and ToL (fixes #138) 2015-03-24 14:20:52 +01:00
Karl Yngve Lervåg
991c6de17f Fix mapping conflict 2015-03-23 22:08:21 +01:00
Karl Yngve Lervåg
f321f412e0 Add default mappings for table of labels 2015-03-23 20:04:14 +01:00
Karl Yngve Lervåg
a88ca00e8f Also remove default mappings to help and reinit 2015-03-23 20:03:52 +01:00
Karl Yngve Lervåg
66b0f76630 Change '30' to 30 2015-03-23 19:23:49 +01:00
Karl Yngve Lervåg
48bb9daebe Added g:vimtex_index_split_width
This variable is the same as the previous g:vimtex_toc_width.

Also changed 'vimtex_index_split' to 'vimtex_index_split_pos'.
2015-03-23 19:21:57 +01:00
Karl Yngve Lervåg
fcf870c7ce Remove VimtexHelp and VimtexReinitialize
These commands seemed to be very useless.
2015-03-23 19:19:24 +01:00
Karl Yngve Lervåg
2268a55ff7 Prevent overwrite of s:initialized 2015-03-23 19:18:19 +01:00
Karl Yngve Lervåg
2f99e48828 Added table of labels functionality (fixes #54) 2015-03-21 19:33:17 +01:00
Karl Yngve Lervåg
dc9522069f Moved index help to top of buffer 2015-03-21 19:31:10 +01:00
Karl Yngve Lervåg
73ed34b804 Minor change 2015-03-21 17:12:38 +01:00
Karl Yngve Lervåg
bd1de1feef Implemented a new system for displaying ToCs 2015-03-21 11:54:07 +01:00
Karl Yngve Lervåg
e12e73a3a0 Minor code improvements 2015-03-20 21:36:17 +01:00
Karl Yngve Lervåg
f8c41be09f build_dir option must be accessible (fixes #135) 2015-03-20 21:35:56 +01:00
Karl Yngve Lervåg
3d98484a8f Minor code improvements 2015-03-20 21:30:59 +01:00
Karl Yngve Lervåg
f032c3bc2b Fixed typo (fixes #134) 2015-03-20 21:29:49 +01:00
zegervdv
54eb67ba38 Add autoref syntax and completion 2015-03-12 09:56:24 +01:00