Updated docs to reflect code structure change
This commit is contained in:
parent
5444067f4a
commit
a76cba6330
@ -1211,15 +1211,16 @@ commands and mappings, creates autocommands and performs other necessary
|
|||||||
initialization. This initialization script is then called from 'vimtex#init'.
|
initialization. This initialization script is then called from 'vimtex#init'.
|
||||||
|
|
||||||
For each LaTeX project that is opened, a |Dictionary| is created and added to
|
For each LaTeX project that is opened, a |Dictionary| is created and added to
|
||||||
the list 'g:vimtex#data'. The dictionary is initialized with data tied to the
|
the list 'g:vimtex_data'. The dictionary is initialized with data tied to the
|
||||||
current project. In addition, a dictionary is created for every buffer
|
current project. The dictionary is also linked to the buffer variable
|
||||||
'b:vimtex'. This contains data that is specific to the current buffer, most
|
'b:vimtex'. Note that a project might consist of several files, so for
|
||||||
importantly it contains the ID of the corresponding main LaTeX project. The
|
a multi-file project one may have several buffers that are linked to the same
|
||||||
command |VimtexInfo| (mapped to <localleader>li by default) will show the
|
data blob. This is by design, and enabled vimtex |vimtex| to work properly
|
||||||
contents of the buffer and global vimtex variables. This combination of local
|
for multi-file latex projects. It also allows the editing of different latex
|
||||||
and global data enables |vimtex| to work properly for multi-file latex
|
projects simultaneously in different buffers.
|
||||||
projects. It also allows the editing of different latex projects
|
|
||||||
simultaneously in different buffers.
|
The command |VimtexInfo| (mapped to <localleader>li by default) will show the
|
||||||
|
contents of the local data blob.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
FAQ *vimtex-faq*
|
FAQ *vimtex-faq*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user