Commit graph

656 commits

Author SHA1 Message Date
Patrick Förster
0edafcff34 Allow multiple children in LaTeX value rule
See #573.
2022-03-03 17:40:46 +01:00
Patrick Förster
2221dc89e0 Normalize root directory setting in path finding
See #571.
2022-03-02 21:35:50 +01:00
Patrick Förster
438c70a456 Allow optional arguments in environment defs
See #570.
2022-03-01 20:43:54 +01:00
Patrick Förster
867d5c1012 Allow '=' in path of includes
See #568.
2022-02-27 09:54:36 +01:00
Patrick Förster
07620f915d Parse command definitions with optional arguments 2022-02-25 21:31:53 +01:00
Patrick Förster
470aa8592e Fix detection of command definitions in completion
See https://github.com/latex-lsp/texlab-vscode/issues/618.
2022-02-25 21:22:43 +01:00
Patrick Förster
10908316dd Watch aux directory for changes by default
See #563.
2022-02-18 18:02:28 +01:00
Patrick Förster
4dd2518c7d Do not allow multi line keys in the grammar
See #559.
2022-02-10 19:20:26 +01:00
Patrick Förster
a483a45d1c Use textEdit property for snippets
See #558.
2022-02-09 21:03:37 +01:00
Patrick Förster
d5b61d3bf4 Allow single commands in curly_group_word rule
See #557.
2022-02-09 19:12:53 +01:00
Patrick Förster
32d007e0a9 Treat \renewcommand as an environment definition
See #556.
2022-02-08 21:09:27 +01:00
Patrick Förster
c36a7e3102 Revert "Use clap v3 instead of structopt"
This reverts commit 8f5cb17046.
2022-01-22 08:44:55 +01:00
Patrick Förster
8f5cb17046 Use clap v3 instead of structopt 2022-01-21 21:43:08 +01:00
Patrick Förster
2d64c8b8e4 Update lsp-types crate version 2022-01-21 21:20:04 +01:00
Patrick Förster
e80fe8782e Update citeproc version 2022-01-21 21:11:59 +01:00
Patrick Förster
18c69e7b39 Replace CHashMap with DashMap 2022-01-21 21:06:10 +01:00
Patrick Förster
bf117bcfe3 Update notify crate version 2022-01-21 21:00:52 +01:00
Patrick Förster
ae4a1266b9 Do not spam workspace/configuration requests
Use both configuration approaches in combination to
retrieve the configuration only when needed.

See #533.
2022-01-21 20:09:37 +01:00
Patrick Förster
432a7d38ac Do not return "null" from forward search request 2022-01-21 18:05:27 +01:00
Patrick Förster
9f778cc080 Make directory path in \import optional
See #540.
2022-01-21 18:00:46 +01:00
Patrick Förster
0934819386 Do not enforce a limit on the length of keys 2021-11-10 20:17:43 +01:00
Patrick Förster
4e1b5ffe10 Use an empty pattern if positioned at start of key 2021-11-10 20:04:00 +01:00
Patrick Förster
017009f291 Limit the size of keys in completion patterns 2021-11-10 19:48:17 +01:00
Patrick Förster
fdee1cf500 Do not try to match the full key in completion
Instead only match the key up to the cursor position.

See issue #510.
2021-11-10 18:51:21 +01:00
Patrick Förster
79ab7bdcfb Do not produce syntax errors for macro parameters
At the moment, the lexer recognizes macro parameters (e. g. #1).
However, these tokens are not currently used for any features
so they tend to do more harm than good, which is why we are
removing them in this commit.

See issue #508.
2021-11-08 21:22:07 +01:00
Patrick Förster
95efdb138b Always reload log files whenever they change 2021-11-06 15:29:07 +01:00
Patrick Förster
1265f8965a Show diagnostics in tex file instead of aux file
See issue #502.
2021-11-05 20:05:13 +01:00
Patrick Förster
e1ee8495b0 Fix compile warnings 2021-08-07 09:59:20 +02:00
Patrick Förster
f1ea264607 Reparse after receiving initial configuration 2021-08-07 09:32:05 +02:00
Patrick Förster
544c96ac17 Enable incremental text sync 2021-08-03 11:33:32 +02:00
Patrick Förster
45953a5c3c Don't lock client capabilities when pulling config 2021-07-07 17:55:31 +02:00
Patrick Förster
db2340b7e6 Fix completion of commands near delimiters 2021-06-23 19:17:54 +02:00
Patrick Förster
7591cee0d2 Compress component database 2021-06-18 19:33:22 +02:00
Patrick Förster
4585f48d8a Update citeproc-rs to latest version 2021-06-18 19:33:18 +02:00
Patrick Förster
152ee23e6d Make work done progress tokens unique 2021-06-12 14:18:29 +02:00
Patrick Förster
5527e52b7f Do not try to run latexmk on bib files 2021-06-12 14:18:29 +02:00
Patrick Förster
2dcdc61c4d Use work done progress request correctly 2021-06-12 14:18:29 +02:00
Patrick Förster
d664f22b75 Only send progress notifications if supported 2021-06-12 14:18:29 +02:00
Patrick Förster
b3ea3659b0 Re-introduce forward search after building feature 2021-06-12 14:18:29 +02:00
Patrick Förster
f63be00363 Re-introduce build on save feature 2021-06-12 14:18:29 +02:00
Patrick Förster
9128a32e85 Prevent concurrent build requests 2021-06-12 14:18:29 +02:00
Patrick Förster
b45e356d75 Fix another conditional compilation feature 2021-06-06 19:04:09 +02:00
Patrick Förster
ed409d9e23 Fix conditional compilation flag in hover module 2021-06-06 15:15:12 +02:00
Patrick Förster
a0f0dded75 Bump version to v3.1.0 2021-06-03 10:40:41 +02:00
Patrick Förster
8296da7a5b Expose -m flag of latexindent 2021-06-03 10:24:53 +02:00
Patrick Förster
20a6525477 Add more latexindent options 2021-06-02 20:24:06 +02:00
Patrick Förster
9ab84bb8b0 Try to avoid defunct latexindent process 2021-06-01 21:33:46 +02:00
Patrick Förster
a345090234 Assign codes to static analysis errors 2021-05-29 11:23:56 +02:00
Patrick Förster
1ef60b9cec Allow multi-word names in parser 2021-05-29 11:18:44 +02:00
Patrick Förster
038c3d81e7 Fix compilation on older versions of Rust 2021-05-22 11:43:02 +02:00