ios - Importing CommonCrypto in a Swift framework - Stack Overflow より
- Appleが解説しているのはObjective-Cなframeworkを使用するケース
- CommonCryptoはPure Cなdylibなので同じ方法では不可能
CommonCrypto.frameworkを自分で作る。
map kitty_mod+v launch --stdin-source=@screen_scrollback --copy-colors --type=overlay-main nvim |
nnoremap <silent>,. :<C-u>Clap files ++finder=rg --vimgrep --files --follow --hidden --no-ignore --glob !.git<CR> |
diff --git a/src/gui.c b/src/gui.c | |
index db59980a7..0d47396c8 100644 | |
--- a/src/gui.c | |
+++ b/src/gui.c | |
@@ -812,7 +812,7 @@ gui_init(void) | |
gui_mch_disable_beval_area(balloonEval); | |
#endif | |
-#ifndef FEAT_GUI_MSWIN | |
+#if !defined(FEAT_GUI_MSWIN) && !defined(FEAT_GUI_MACVIM) |
{ | |
"maintainers": [ | |
"yamaya" | |
], | |
"rules": [ | |
{ | |
"available_since": "12.3.0", | |
"description": "Convert mouse move to scroll wheel (Toggle with button4)", | |
"manipulators": [ | |
{ |
commit db357a103 (HEAD -> fix/my-patches, origin/fix/my-patches) | |
Author: Masayuki Yamaya <> | |
Date: Wed Apr 15 18:13:57 2020 +0900 | |
imdisableを無効にした場合に日本語インライン入力がおかしい問題を修正 | |
直接的に効果出てるのはメッセージ送信をやめた事だと思う。 | |
このメッセージが巡り巡って下線付きテキスト表示モードを中止してしまう。 | |
`-setImState:`は呼ばなくても良さげなので一緒に削除してみた。 |
diff --git a/langserver/handler.go b/langserver/handler.go | |
index 73e9be1..fbe5a8f 100644 | |
--- a/langserver/handler.go | |
+++ b/langserver/handler.go | |
@@ -157,11 +157,17 @@ func (h *langHandler) lint(uri string) []Diagnostic { | |
diagnostics := []Diagnostic{} | |
+ cmdline := config.LintCommand | |
+ if !config.LintStdin { |
#include <IOKit/hid/IOHIDLib.h> | |
#include <IOKit/hidsystem/event_status_driver.h> | |
static int hid_mousex, hid_mousey; | |
static void hidCallback(void* context, IOReturn result, void* sender, IOHIDValueRef valueRef) | |
{ | |
IOHIDElementRef element = IOHIDValueGetElement(valueRef); | |
if (mouse_capture > 0 && IOHIDElementGetUsagePage(element) == kHIDPage_GenericDesktop) { | |
int value = (int)IOHIDValueGetIntegerValue(valueRef); |
import Foundation | |
import IOKit | |
import IOKit.hid | |
import Quartz | |
let ioman = IOHIDManagerCreate(kCFAllocatorDefault, | |
IOOptionBits(kIOHIDOptionsTypeNone)) | |
let runloop : CFRunLoop = CFRunLoopGetCurrent() | |
let devices = [ | |
kIOHIDVendorIDKey: 0x0b33, |
let scrollduration = 20 | |
let blacklists = ["*://reader.livedwango.com/reader/*", "*://(mail|calendar).google.com/*", "*://www.apple.com/jp/shop/*", "*://www.jtb.co.jp/*", "*://secure.j-bus.co.jp/*", "*://twitter.com/*", "*://*.starbucks.co.jp/*", "*://www.tumblr.com/blog/*", "*://logentries.com/app/*", "*://eexpress.jp/*", "*://kcw.kddi.ne.jp/*"] | |
let nextmatchpattern = "((?!first)(next( page)?|older|more|>|›|»|forward|次へ| )+)" | |
let previousmatchpattern = "((?!last)(prev(ious)?( page)?|newer|back|«|less|<|‹|前へ| )+)" | |
unmapAll | |
map "j" scrollPageDown | |
map "k" scrollPageUp | |
map "ctrl+f" scrollFullPageDown | |
map "ctrl+b" scrollFullPageUp |
ios - Importing CommonCrypto in a Swift framework - Stack Overflow より
CommonCrypto.frameworkを自分で作る。