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:
parent
1e17db6d21
commit
0f8b67e6ce
.editorconfigbuild.gradle.kts
src
main/java/com/maddyhome/idea/vim/group/copy
test/java/org/jetbrains/plugins/ideavim
vim-engine
@ -7,3 +7,4 @@ indent_style = space
|
||||
[*.kt]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
ktlint_standard_no-wildcard-imports = disabled
|
@ -340,7 +340,6 @@ tasks {
|
||||
// --- Linting
|
||||
|
||||
ktlint {
|
||||
disabledRules.add("no-wildcard-imports")
|
||||
version.set("0.48.2")
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -728,7 +728,7 @@ abstract class VimTestCase {
|
||||
}
|
||||
|
||||
private fun clearClipboard() {
|
||||
ClipboardSynchronizer.getInstance().resetContent();
|
||||
ClipboardSynchronizer.getInstance().resetContent()
|
||||
ClipboardSynchronizer.getInstance().setContent(EmptyTransferable, EmptyClipboardOwner.INSTANCE)
|
||||
}
|
||||
|
||||
|
@ -224,4 +224,3 @@ class RegistersCommandTest : VimTestCase() {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -22,4 +22,4 @@ object EmptyTransferable : Transferable {
|
||||
override fun getTransferData(flavor: DataFlavor?): Any {
|
||||
throw UnsupportedFlavorException(flavor)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -43,7 +43,6 @@ tasks {
|
||||
// --- Linting
|
||||
|
||||
ktlint {
|
||||
disabledRules.add("no-wildcard-imports")
|
||||
version.set("0.48.2")
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ public abstract class VimPutBase : VimPut {
|
||||
text,
|
||||
data.textData.typeInRegister,
|
||||
data.textData.transferableData,
|
||||
data.textData.registerChar
|
||||
data.textData.registerChar,
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user