1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-04-13 20:15:43 +02:00

Reformat files

This commit is contained in:
Alex Plate 2023-03-27 11:14:00 +03:00
parent 1e17db6d21
commit 0f8b67e6ce
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F
8 changed files with 5 additions and 8 deletions
.editorconfigbuild.gradle.kts
src
main/java/com/maddyhome/idea/vim/group/copy
test/java/org/jetbrains/plugins/ideavim
vim-engine
build.gradle.kts
src/main/kotlin/com/maddyhome/idea/vim/put

View File

@ -7,3 +7,4 @@ indent_style = space
[*.kt]
indent_size = 2
indent_style = space
ktlint_standard_no-wildcard-imports = disabled

View File

@ -340,7 +340,6 @@ tasks {
// --- Linting
ktlint {
disabledRules.add("no-wildcard-imports")
version.set("0.48.2")
}

View File

@ -98,8 +98,7 @@ internal class PutGroup : VimPutBase() {
val registerChar = text.registerChar
if (registerChar != null && registerChar in RegisterConstants.CLIPBOARD_REGISTERS) {
(pasteProvider as IjPasteProvider).pasteProvider.performPaste(context)
}
else {
} else {
pasteKeepingClipboard(text) {
(pasteProvider as IjPasteProvider).pasteProvider.performPaste(context)
}

View File

@ -728,7 +728,7 @@ abstract class VimTestCase {
}
private fun clearClipboard() {
ClipboardSynchronizer.getInstance().resetContent();
ClipboardSynchronizer.getInstance().resetContent()
ClipboardSynchronizer.getInstance().setContent(EmptyTransferable, EmptyClipboardOwner.INSTANCE)
}

View File

@ -224,4 +224,3 @@ class RegistersCommandTest : VimTestCase() {
)
}
}

View File

@ -22,4 +22,4 @@ object EmptyTransferable : Transferable {
override fun getTransferData(flavor: DataFlavor?): Any {
throw UnsupportedFlavorException(flavor)
}
}
}

View File

@ -43,7 +43,6 @@ tasks {
// --- Linting
ktlint {
disabledRules.add("no-wildcard-imports")
version.set("0.48.2")
}

View File

@ -143,7 +143,7 @@ public abstract class VimPutBase : VimPut {
text,
data.textData.typeInRegister,
data.textData.transferableData,
data.textData.registerChar
data.textData.registerChar,
)
}