5646a73a69
Merge remote-tracking branch 'upstream/master'
2025-01-18 09:56:49 +01:00
Michael Davis
343397391f
Remove unused variant from FormatterError
...
This seems to be a relic from the change which added external formatting
commands - initially it worked by writing the file in place and
reloading it. Now this error type is not possible and can be removed.
2025-01-17 11:00:37 -05:00
Michael Davis
69068770c8
Add extra logging for external formatters and formatting errors
...
This should help debug formatting failures when using external
formatters in the future. Previously we didn't log anything when an
external formatter failed despite having a custom error type for it.
2025-01-17 11:00:34 -05:00
2842c69759
fix: Broken merge
2025-01-14 20:59:04 +01:00
a0ca976c99
Merge remote-tracking branch 'upstream/master'
2025-01-14 20:55:31 +01:00
Michael Davis
27bb2447db
Use a workspace dependency for bitflags
2025-01-13 18:26:31 -05:00
dependabot[bot]
3d772afc8b
build(deps): bump the rust-dependencies group with 6 updates
...
Bumps the rust-dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [thiserror](https://github.com/dtolnay/thiserror ) | `2.0.9` | `2.0.11` |
| [bitflags](https://github.com/bitflags/bitflags ) | `2.6.0` | `2.7.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.134` | `1.0.135` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.42.0` | `1.43.0` |
| [rustix](https://github.com/bytecodealliance/rustix ) | `0.38.42` | `0.38.43` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.7` | `1.2.9` |
Updates `thiserror` from 2.0.9 to 2.0.11
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.9...2.0.11 )
Updates `bitflags` from 2.6.0 to 2.7.0
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.6.0...2.7.0 )
Updates `serde_json` from 1.0.134 to 1.0.135
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.135 )
Updates `tokio` from 1.42.0 to 1.43.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0 )
Updates `rustix` from 0.38.42 to 0.38.43
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.42...v0.38.43 )
Updates `cc` from 1.2.7 to 1.2.9
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.7...cc-v1.2.9 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 23:09:54 +00:00
99a3c56df3
Merge remote-tracking branch 'color-completion/colored-color-completions-fix'
2025-01-12 10:32:11 +01:00
Rob Gonnella
a83c23bb03
Run formatter from Document directory ( #12315 )
...
Co-authored-by: Rob Gonnella <rob.gonnella@papayapay.com>
2025-01-08 12:36:40 -06:00
dependabot[bot]
e698b20245
build(deps): bump the rust-dependencies group with 3 updates ( #12437 )
2025-01-06 19:34:21 -05:00
RoloEdits
f80ae997f2
perf: cache Document
s relative path ( #12385 )
2025-01-05 16:29:16 -06:00
4762371504
Merge remote-tracking branch 'RoloEdits/icons-v2'
2025-01-04 18:22:19 +01:00
Rolo
15d091cb65
todo: outline more icon domains and sets
2025-01-04 09:03:30 -08:00
Rolo
0fb74a7160
feat: add more icons for supported languages
2025-01-04 09:03:30 -08:00
Rolo
ca36a396e6
refactor: change lsp icons to nf-cod-symbol
where possible
2025-01-04 09:03:30 -08:00
Rolo
02374e4f91
doc: add description for Icons
in Editor
2025-01-04 09:03:30 -08:00
Rolo
b53d8e9f6b
refactor: rename mime get param from type to name
2025-01-04 09:03:30 -08:00
Rolo
287fd9aed1
refactor: rename config.rs to icons.rs and move to top level
2025-01-04 09:03:30 -08:00
Rolo
46f09ea70e
perf: switch from String
to SmartString
2025-01-04 09:03:30 -08:00
Rolo
1ba0e8b5ba
refactor: add nerdfont defaults for common mime types
2025-01-04 09:03:30 -08:00
Rolo
7a368fcc58
perf: add #[inline]
attribute to getters
2025-01-04 09:03:30 -08:00
Rolo
1eda83e3e5
chore: add comment for default diagnostic symbols
2025-01-04 09:03:30 -08:00
Rolo
041192eaae
refactor: remove Default
impls and add config parsing
2025-01-04 09:03:30 -08:00
Rolo
e9de73a4a3
feat: add dap symbols to config
2025-01-04 09:03:30 -08:00
Rolo
a8ffbaa397
lint: add 'static lifetime to const's
2025-01-04 09:03:30 -08:00
Rolo
39638b6394
feat: add support for basic icons
2025-01-04 09:03:30 -08:00
6589a46e12
Merge remote-tracking branch 'nikitarevenco/toggle-diagnostics'
2025-01-04 17:53:44 +01:00
b1ea2cd7db
Merge remote-tracking branch 'merge-status-line/merge-statusline-cmdline'
2025-01-04 17:33:43 +01:00
7e2bdbe6df
Merge remote-tracking branch 'backup/open'
2025-01-02 14:22:06 +01:00
65628d53e4
Merge remote-tracking branch 'color-swatches/textDocument/documentColor'
2024-12-27 21:42:33 +01:00
Sofus Addington
74a9e9e425
Pull diagnostics
2024-12-27 19:07:14 +01:00
Nikita Revenco
ffb2ae336e
docs: improve description of what the calculate range inline method does
2024-12-25 18:44:55 +00:00
Nikita Revenco
aca9b4f158
refactor: inline_annotations_range moved to be on Document
2024-12-25 18:36:42 +00:00
Nikita Revenco
67552f6aa2
refactor: rename function
...
refactor: rename function
2024-12-25 18:29:31 +00:00
Nikita Revenco
db8ac503f4
refactor: rename several variables
2024-12-25 18:21:55 +00:00
Nikita Revenco
d120a35740
feat: use padding for color swatches
2024-12-23 13:57:52 +00:00
Nikita Revenco
ba6e6dc3dd
Colors for items in the completion menu ( #12299 )
2024-12-20 10:16:15 -06:00
Nikita Revenco
105be47e8a
refactor: remove unused imports
2024-12-20 14:57:41 +00:00
Nikita Revenco
0f6e008646
style: final changes, moving around structs
2024-12-20 14:56:27 +00:00
Gabriel Dinner-David
cc71969884
propogate the colours
2024-12-20 03:34:49 -05:00
Nikita Revenco
9185448259
feat: remove unneeded comment
2024-12-19 23:23:55 +00:00
Nikita Revenco
c901c17ef8
feat: use different color
2024-12-19 21:20:51 +00:00
Nikita Revenco
1c3caf525e
feat: basic implementation
2024-12-19 21:09:05 +00:00
Pascal Kuthe
1badd9e434
implement snippet tabstop support
2024-12-17 13:34:40 -05:00
Pascal Kuthe
609c29bf7e
add DocumentFocusLost event
2024-12-17 13:34:40 -05:00
Pascal Kuthe
5537e68b5e
add changes
and ghost_transaction
to DocumentDidChange events
2024-12-17 13:34:40 -05:00
TornaxO7
5005c14e99
Add config option for continue commenting ( #12213 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-09 17:31:41 -06:00
Nikita Revenco
4b5da9e667
fix: do not pass extra argument
2024-12-09 14:27:52 +00:00
Nikita Revenco
2b28ce94be
fix: do not use a Cell for self.active
2024-12-09 14:23:59 +00:00
Nikita Revenco
069ca339a6
feat: complete implementation for toggle diagnostics option
2024-12-09 14:18:17 +00:00