diff --git a/docs/editors/vim.md b/docs/editors/vim.md index cb9cc7fe050..949bbdaa1b4 100644 --- a/docs/editors/vim.md +++ b/docs/editors/vim.md @@ -17,7 +17,7 @@ extensions that won't be available when not using the extension. ## nvim-metals -[`nvim-metals`](https://github.com/scalameta/nvim-metals) Is the the dedicated +[`nvim-metals`](https://github.com/scalameta/nvim-metals) Is the dedicated Metals extension for the [built-in LSP support](https://neovim.io/doc/user/lsp.html) in Neovim. diff --git a/metals/src/main/scala/scala/meta/internal/builds/WorkspaceLoadedStatus.scala b/metals/src/main/scala/scala/meta/internal/builds/WorkspaceLoadedStatus.scala index f94b3028ccd..a1881cacfb4 100644 --- a/metals/src/main/scala/scala/meta/internal/builds/WorkspaceLoadedStatus.scala +++ b/metals/src/main/scala/scala/meta/internal/builds/WorkspaceLoadedStatus.scala @@ -3,7 +3,7 @@ package scala.meta.internal.builds import scala.meta.internal.builds.Digest.Status /** - * Represents the the status of a `workspace/reload` or a `bloopInstall` request. + * Represents the status of a `workspace/reload` or a `bloopInstall` request. */ sealed abstract class WorkspaceLoadedStatus extends Product with Serializable { import WorkspaceLoadedStatus._ diff --git a/metals/src/main/scala/scala/meta/internal/metals/MetalsLspService.scala b/metals/src/main/scala/scala/meta/internal/metals/MetalsLspService.scala index f6dd6e39cf0..36daac4fbb1 100644 --- a/metals/src/main/scala/scala/meta/internal/metals/MetalsLspService.scala +++ b/metals/src/main/scala/scala/meta/internal/metals/MetalsLspService.scala @@ -2468,7 +2468,7 @@ class MetalsLspService( } /** - * Returns the the definition location or reference locations of a symbol at a + * Returns the definition location or reference locations of a symbol at a * given text document position. If the symbol represents the definition * itself, this method returns the reference locations, otherwise this returns * definition location. https://github.com/scalameta/metals/issues/755 diff --git a/metals/src/main/scala/scala/meta/internal/metals/debug/MessageIdAdapter.scala b/metals/src/main/scala/scala/meta/internal/metals/debug/MessageIdAdapter.scala index e8c0b53b1bc..b67de72f183 100644 --- a/metals/src/main/scala/scala/meta/internal/metals/debug/MessageIdAdapter.scala +++ b/metals/src/main/scala/scala/meta/internal/metals/debug/MessageIdAdapter.scala @@ -13,7 +13,7 @@ import org.eclipse.lsp4j.jsonrpc.messages.Message /** * Assigns an id to synthetic messages and fixes the id of - * non-synthetic ones to keep the the id sequence monotonic. + * non-synthetic ones to keep the id sequence monotonic. * * Additionally, adapts the request id for responses being produced * to keep the whole procedure transparent for the caller. diff --git a/mtags-shared/src/main/scala/scala/meta/internal/pc/CompilerInitializationOptions.scala b/mtags-shared/src/main/scala/scala/meta/internal/pc/CompilerInitializationOptions.scala index 06f17cf971c..57b5e583277 100644 --- a/mtags-shared/src/main/scala/scala/meta/internal/pc/CompilerInitializationOptions.scala +++ b/mtags-shared/src/main/scala/scala/meta/internal/pc/CompilerInitializationOptions.scala @@ -2,7 +2,7 @@ package scala.meta.internal.pc /** * Represents the Compiler InitializationOptions that the client - * sends in during the `initialize` process. If the the client doesn't + * sends in during the `initialize` process. If the client doesn't * doesn't explicity send in anything, we default everything to None to * signify the client didn't set this. This will then default to what is * currently set (more than likely the defaults) in the PresentationCompilerConfigImpl.