sooqua

Results 14 comments of sooqua

> If someone has a good elisp fu, then perhaps an easy solution would be to make a copy of all text registers before the multiple cursors are made. Then...

Quick fix: ```elisp (defun ~+multiple-cursors*evil-mc-write-cursor-state (state) "Write the state of the real cursor with values from STATE." (let ((names (evil-mc-get-cursor-variables))) (dolist (name names) (when (boundp name) (let ((p (evil-mc-get-cursor-property state...

Yeah. I'm not sure why `(null p)` check doesn't work with `evil-markers-alist`, it seems like it doesn't write null in there but something breaks anyway. ```elisp (defun ~+multiple-cursors-evil-mc-write-cursor-state-a (state) "Write...

You could probably just remove `register-alist` and `evil-markers-alist` from `evil-mc-cursor-variables` at this point instead of overriding `evil-mc-write-cursor-state`, for some negligible performance benefit, but I don't know what these variables are...

```elisp (defun +javascript-rjsx-electric-gt-a (n) (when (and (looking-back "") (looking-at-p "/>")) (save-excursion (insert "

Seems like I managed to bring this functionality from `web-mode` in a very hackish way. And I'm using Doom Emacs, but this shouldn't be too hard to modify for vanilla...

For some reason this doesn't work at all. Even `(matching-paren (char-after))` is failing right before the `

Here is the relevant `completions` part from the log file: ``` {"command":"completions","seq":"89","arguments":{"file":"/home/sooqua/code/js/contact-keeper/client/src/App.jsx","line":33,"offset":18,"includeExternalModuleExports":true,"includeInsertTextCompletions":true,"prefix":"Navb"}} ``` Here is my jsconfig.json: ``` { "compilerOptions": { "target": "es6", "module": "es6", "jsx": "react", "allowSyntheticDefaultImports": true, "baseUrl":...

Yep, here is the response: ``` {"command":"completions","seq":"99","arguments":{"file":"/home/sooqua/code/js/contact-keeper/client/src/App.jsx","line":33,"offset":18,"includeExternalModuleExports":true,"includeInsertTextCompletions":true,"prefix":"Navb"}} Info 127 [9:28:45.836] getCompletionData: Get current token: 0 Info 128 [9:28:45.836] getCompletionData: Is inside comment: 0 Info 129 [9:28:45.836] getCompletionData: Get previous token...

This didn't work for me: ``` { "compileOnSave": true, "compilerOptions": { "jsx": "React", "module": "commonjs", "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "ES5" }, "exclude": [ "node_modules" ] } ``` Is there...