summaryrefslogtreecommitdiff
path: root/cli/lsp
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-01-02 16:00:42 -0500
committerGitHub <noreply@github.com>2023-01-02 21:00:42 +0000
commit10e4b2e14046b74469f7310c599579a6611513fe (patch)
treef6e446cb97d1df8b7413f3bf3a9c897ff487b275 /cli/lsp
parentf729576b2db2aa6ce000a598ad2e45533f686213 (diff)
chore: update copyright year to 2023 (#17247)
Yearly tradition of creating extra noise in git.
Diffstat (limited to 'cli/lsp')
-rw-r--r--cli/lsp/analysis.rs2
-rw-r--r--cli/lsp/cache.rs2
-rw-r--r--cli/lsp/capabilities.rs2
-rw-r--r--cli/lsp/code_lens.rs2
-rw-r--r--cli/lsp/completions.rs2
-rw-r--r--cli/lsp/config.rs2
-rw-r--r--cli/lsp/diagnostics.rs2
-rw-r--r--cli/lsp/documents.rs2
-rw-r--r--cli/lsp/language_server.rs2
-rw-r--r--cli/lsp/logging.rs2
-rw-r--r--cli/lsp/lsp_custom.rs2
-rw-r--r--cli/lsp/mod.rs2
-rw-r--r--cli/lsp/parent_process_checker.rs2
-rw-r--r--cli/lsp/path_to_regex.rs2
-rw-r--r--cli/lsp/performance.rs2
-rw-r--r--cli/lsp/refactor.rs2
-rw-r--r--cli/lsp/registries.rs2
-rw-r--r--cli/lsp/repl.rs2
-rw-r--r--cli/lsp/semantic_tokens.rs2
-rw-r--r--cli/lsp/testing/collectors.rs2
-rw-r--r--cli/lsp/testing/definitions.rs2
-rw-r--r--cli/lsp/testing/execution.rs2
-rw-r--r--cli/lsp/testing/lsp_custom.rs2
-rw-r--r--cli/lsp/testing/mod.rs2
-rw-r--r--cli/lsp/testing/server.rs2
-rw-r--r--cli/lsp/text.rs2
-rw-r--r--cli/lsp/tsc.rs2
-rw-r--r--cli/lsp/urls.rs2
28 files changed, 28 insertions, 28 deletions
diff --git a/cli/lsp/analysis.rs b/cli/lsp/analysis.rs
index bce89cc35..e436dc91a 100644
--- a/cli/lsp/analysis.rs
+++ b/cli/lsp/analysis.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::diagnostics::DenoDiagnostic;
use super::documents::Documents;
diff --git a/cli/lsp/cache.rs b/cli/lsp/cache.rs
index 7f7f69871..47f6e44ba 100644
--- a/cli/lsp/cache.rs
+++ b/cli/lsp/cache.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use crate::cache::CachedUrlMetadata;
use crate::cache::HttpCache;
diff --git a/cli/lsp/capabilities.rs b/cli/lsp/capabilities.rs
index 08a3d8814..029c5c9a9 100644
--- a/cli/lsp/capabilities.rs
+++ b/cli/lsp/capabilities.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
///!
///! Provides information about what capabilities that are supported by the
diff --git a/cli/lsp/code_lens.rs b/cli/lsp/code_lens.rs
index a4668fd2d..1253fe5aa 100644
--- a/cli/lsp/code_lens.rs
+++ b/cli/lsp/code_lens.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::analysis::source_range_to_lsp_range;
use super::config::Config;
diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs
index 73f772cf2..70d707bc7 100644
--- a/cli/lsp/completions.rs
+++ b/cli/lsp/completions.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::client::Client;
use super::config::ConfigSnapshot;
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs
index 8d5da46b7..3f60ac146 100644
--- a/cli/lsp/config.rs
+++ b/cli/lsp/config.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::client::Client;
use super::logging::lsp_log;
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs
index 2723b44db..c52bde790 100644
--- a/cli/lsp/diagnostics.rs
+++ b/cli/lsp/diagnostics.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::analysis;
use super::cache;
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs
index edf5497ab..bedd1f9a7 100644
--- a/cli/lsp/documents.rs
+++ b/cli/lsp/documents.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::cache::calculate_fs_version;
use super::text::LineIndex;
diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs
index e23db159a..ff294e34b 100644
--- a/cli/lsp/language_server.rs
+++ b/cli/lsp/language_server.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use deno_ast::MediaType;
use deno_core::anyhow::anyhow;
diff --git a/cli/lsp/logging.rs b/cli/lsp/logging.rs
index 88392dca2..7099b08bc 100644
--- a/cli/lsp/logging.rs
+++ b/cli/lsp/logging.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use std::sync::atomic::AtomicBool;
use std::sync::atomic::AtomicUsize;
diff --git a/cli/lsp/lsp_custom.rs b/cli/lsp/lsp_custom.rs
index b154234c7..70a245a66 100644
--- a/cli/lsp/lsp_custom.rs
+++ b/cli/lsp/lsp_custom.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use deno_core::serde::Deserialize;
use deno_core::serde::Serialize;
diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs
index 7161c5209..0d5552519 100644
--- a/cli/lsp/mod.rs
+++ b/cli/lsp/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use tower_lsp::LspService;
diff --git a/cli/lsp/parent_process_checker.rs b/cli/lsp/parent_process_checker.rs
index 5983d914a..4cc3bcef3 100644
--- a/cli/lsp/parent_process_checker.rs
+++ b/cli/lsp/parent_process_checker.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use tokio::time::sleep;
use tokio::time::Duration;
diff --git a/cli/lsp/path_to_regex.rs b/cli/lsp/path_to_regex.rs
index 9ccbb2c1f..a9b4bcdf3 100644
--- a/cli/lsp/path_to_regex.rs
+++ b/cli/lsp/path_to_regex.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// The logic of this module is heavily influenced by path-to-regexp at:
// https://github.com/pillarjs/path-to-regexp/ which is licensed as follows:
diff --git a/cli/lsp/performance.rs b/cli/lsp/performance.rs
index 3b37a87ef..72bec20ab 100644
--- a/cli/lsp/performance.rs
+++ b/cli/lsp/performance.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use deno_core::parking_lot::Mutex;
use deno_core::serde::Deserialize;
diff --git a/cli/lsp/refactor.rs b/cli/lsp/refactor.rs
index d2f633331..63cb80b0f 100644
--- a/cli/lsp/refactor.rs
+++ b/cli/lsp/refactor.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// The logic of this module is heavily influenced by
// https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/refactor.ts
diff --git a/cli/lsp/registries.rs b/cli/lsp/registries.rs
index aeaa4c012..81e2552c0 100644
--- a/cli/lsp/registries.rs
+++ b/cli/lsp/registries.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::completions::IMPORT_COMMIT_CHARS;
use super::logging::lsp_log;
diff --git a/cli/lsp/repl.rs b/cli/lsp/repl.rs
index 60354f2d0..81e621c13 100644
--- a/cli/lsp/repl.rs
+++ b/cli/lsp/repl.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use std::collections::HashMap;
diff --git a/cli/lsp/semantic_tokens.rs b/cli/lsp/semantic_tokens.rs
index d15b55cec..8ed0ab201 100644
--- a/cli/lsp/semantic_tokens.rs
+++ b/cli/lsp/semantic_tokens.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// The logic of this module is heavily influenced by
// https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/src/languageFeatures/semanticTokens.ts
diff --git a/cli/lsp/testing/collectors.rs b/cli/lsp/testing/collectors.rs
index 74b85ef7b..8361ee124 100644
--- a/cli/lsp/testing/collectors.rs
+++ b/cli/lsp/testing/collectors.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::definitions::TestDefinition;
diff --git a/cli/lsp/testing/definitions.rs b/cli/lsp/testing/definitions.rs
index a2cd78012..0e9eb9b4d 100644
--- a/cli/lsp/testing/definitions.rs
+++ b/cli/lsp/testing/definitions.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::lsp_custom;
diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs
index f0ab1c8fc..722f06e2c 100644
--- a/cli/lsp/testing/execution.rs
+++ b/cli/lsp/testing/execution.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::definitions::TestDefinition;
use super::definitions::TestDefinitions;
diff --git a/cli/lsp/testing/lsp_custom.rs b/cli/lsp/testing/lsp_custom.rs
index 59df9884d..a8dc62da6 100644
--- a/cli/lsp/testing/lsp_custom.rs
+++ b/cli/lsp/testing/lsp_custom.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use deno_core::serde::Deserialize;
use deno_core::serde::Serialize;
diff --git a/cli/lsp/testing/mod.rs b/cli/lsp/testing/mod.rs
index cbd49724e..72c83703c 100644
--- a/cli/lsp/testing/mod.rs
+++ b/cli/lsp/testing/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
mod collectors;
mod definitions;
diff --git a/cli/lsp/testing/server.rs b/cli/lsp/testing/server.rs
index 0b1d1c9d3..66f66ed1d 100644
--- a/cli/lsp/testing/server.rs
+++ b/cli/lsp/testing/server.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::collectors::TestCollector;
use super::definitions::TestDefinitions;
diff --git a/cli/lsp/text.rs b/cli/lsp/text.rs
index 33ac2048f..26df170ce 100644
--- a/cli/lsp/text.rs
+++ b/cli/lsp/text.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use deno_core::error::custom_error;
use deno_core::error::AnyError;
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index 8a83839bf..9f2ac2ba0 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::code_lens;
use super::config;
diff --git a/cli/lsp/urls.rs b/cli/lsp/urls.rs
index 5aed54ad5..7e274e7b0 100644
--- a/cli/lsp/urls.rs
+++ b/cli/lsp/urls.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use crate::file_fetcher::map_content_type;