zed/crates/languages/src
Marshall Bowers 81475ac4cd
paths: Replace lazy_static! with OnceLock (#13213)
This PR replaces the `lazy_static!` usages in the `paths` crate with
`OnceLock` from the standard library.

This allows us to drop the `lazy_static` dependency from this crate.

The paths are now exposed as accessor functions that reference a private
static value.

Release Notes:

- N/A
2024-06-18 12:22:37 -04:00
..
bash Recognize PKGBUILD as bash script (#10946) 2024-04-25 09:44:52 -04:00
c Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
cpp cpp: Highlight sized type specifiers as keywords (#12751) 2024-06-08 13:26:10 +03:00
css Use language settings' prettier parsers as a fallback for files with no path (#12273) 2024-05-25 10:50:53 +03:00
go go: Add runnables for Go (#12003) 2024-05-26 15:16:52 +02:00
gomod File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript Fix TSX and JavaScript shorthand property syntax highlighting (#12512) 2024-06-03 00:52:16 +02:00
jsdoc Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
json Add auto-completion support for package.json files (#12792) 2024-06-08 13:33:29 +03:00
markdown Use language settings' prettier parsers as a fallback for files with no path (#12273) 2024-05-25 10:50:53 +03:00
proto chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
python Improve Python syntax highlighting (#12868) 2024-06-18 12:21:18 -04:00
regex Add regex syntax highlighting for JS and TS (#7851) 2024-03-18 09:49:01 -06:00
rust Add runnable for rust main function (#13087) 2024-06-18 16:25:20 +02:00
tsx Added TSX test runnables (#12922) 2024-06-12 11:02:24 +02:00
typescript JavaScript: Add runnable tests (#12118) 2024-06-01 14:28:53 +02:00
yaml Use language settings' prettier parsers as a fallback for files with no path (#12273) 2024-05-25 10:50:53 +03:00
bash.rs tasks: Expose captured variables to ContextProvider (#12134) 2024-05-22 19:45:43 +02:00
c.rs Don't generate invalid ranges for C code (#13183) 2024-06-17 21:13:42 -06:00
css.rs Improve the ergonomics of creating local buffers (#10347) 2024-04-10 08:32:51 -06:00
elm.rs Add language_server_workspace_configuration to extension API (#10212) 2024-04-05 17:04:07 -04:00
go.rs Use rust-analyzer from path if possible (#12418) 2024-06-07 06:56:38 +02:00
json.rs paths: Replace lazy_static! with OnceLock (#13213) 2024-06-18 12:22:37 -04:00
lib.rs Added TSX test runnables (#12922) 2024-06-12 11:02:24 +02:00
python.rs python: Add runnable unittest tasks (#12451) 2024-06-01 18:46:36 +02:00
rust.rs Add runnable for rust main function (#13087) 2024-06-18 16:25:20 +02:00
tailwind.rs tailwind: Allow configuring custom tailwind server build (#11921) 2024-05-16 18:00:30 +02:00
typescript.rs Wrap JS/TS runnables in quotes (#12932) 2024-06-12 14:58:04 +02:00
vtsls.rs lsp: Add support for label_details in completions (#13043) 2024-06-14 13:49:08 +02:00
yaml.rs Add language_server_workspace_configuration to extension API (#10212) 2024-04-05 17:04:07 -04:00