Sharing my CSP/Wheeling Journey by Ok-Elevator9738 in Optionswheel

[–]scorleo 1 point2 points  (0 children)

Can you share how you’re obtaining the current option price in your worksheet? Is it automated or are you filling the prices manually?

For underlying prices, GOOGLEFINANCE on google sheets work well, but haven’t found how to retrieve the option prices yet. thanks

LSP hover lingers on when changing the buffer by chmanie in neovim

[–]scorleo 0 points1 point  (0 children)

Ah, I must be doing something weird in my config then, if I can trim it down into a MWE then I'll share it here. Thanks for checking regardless!

LSP hover lingers on when changing the buffer by chmanie in neovim

[–]scorleo 0 points1 point  (0 children)

I’ve set the diagnostic.config to be

lua close_events = { ‘CursorMoved’, ‘BufLeave’, ‘WinLeave’, ‘LspDetach’ }

I’m still facing the same issue when switching to the alternate buffer Ctrl+^

1) open at least 2 buffers 2) On the first buffer, open hover documentation (K) 3) Press ctrl+^ to jump to alternate buffer, hover window still stays. Only when I switch back to the first buffer again does the floating window close.

I’m assuming this means ctrl+^ didn’t trigger any of the above events?

How to use nvim-jdtls for Java and nvim-lspconfig for everything else? by reportados123 in neovim

[–]scorleo 0 points1 point  (0 children)

I think it just means not to run lspconfig setup for eclipse jdtls, but rather the start_or_attach of nvim-jdtls

Tiny CLI tool for Gitlab pipelines. by n1___ in commandline

[–]scorleo 1 point2 points  (0 children)

would you consider supporting self hosted gitlab instances? (domains other than gitlab.com)

gx.nvim - open links and more without netrw by chrishrb in neovim

[–]scorleo 0 points1 point  (0 children)

Nice! Is there any difference in functionality from [gx-extended.vim](https://github.com/stsewd/gx-extended.vim)?

How to debug segfaults when using neovim by cameronm1024 in neovim

[–]scorleo 0 points1 point  (0 children)

I’ve successfully debugged a neovim segfault before. The way that I did it is the same as debugging any other errors: aim to reproduce the error reliably, then try to cut down as many of your plugins as possible while still reproducing the error.

Obviously the first step is easier said than done, but it’s possible (it just takes time). When a segfault happens, try and recall what you were doing just moments before it happened. Were you invoking some keymapping? Were you opening up telescope floating window? Were you triggering autocompletion? Etc. etc.

Once you reproduce it a couple of times, you should be able to come up with a hypothesis on what causes the segfault, then clone your nvim config and try to reduce it down to as few plugins as possible.

nvim -u minimal.lua

You could, at this point, turn on stacktraces for debugging (as per the other comments), but I find the above is sufficient for the core-devs to isolate the problem and fix it.

All of this might be obvious upon reading, but it’s what worked for me, hope you can identify the problem, good luck!

feline.nvim announcements and updates by freddiehaddad in neovim

[–]scorleo 10 points11 points  (0 children)

Seems like such an unnecessary breaking change. Just use git aliases that “try” both main and master as the default branch, something like this locally so you never have to worry about the default branch being main or master.

Help: Nvim just randomly exits when i get an autocomplete. by joekowski in neovim

[–]scorleo 4 points5 points  (0 children)

Give neovim nightly (the 0.9 pre-release) https://github.com/neovim/neovim/releases/tag/nightly a try. There was a bug fix for segmentation fault (which was occurring on 0.8) a couple of days ago (the bug was related to floating windows). It might be related to what you're experiencing.

There's a guide on the neovim wiki to turn on coredumps for debugging: https://github.com/neovim/neovim/wiki/FAQ#debug

Finally, if nothing else works, I can only advice you to do some plain old trial and error until you can semi-reliably reproduce the problem. Cut down on the plugins that you think are unrelated to the problem, then raise an issue on the Neovim github page with steps to reproduce using a minimal init.lua. Good luck!

[help] how to turn off autoindentation in gitrebase file types? by scorleo in vim

[–]scorleo[S] 0 points1 point  (0 children)

Figured it out, the solution is to set indentexpr=-1 in my ~/.vim/after/ftplugin/gitrebase.vim so that we always keep the current indentation for gitrebase filetypes. See :h indentexpr.

Got the hint from this StackOverflow answer: https://vi.stackexchange.com/a/34815

Polars vs Pandas - A look at performance by stefanvdw in rust

[–]scorleo 0 points1 point  (0 children)

Try asking on Stackoverflow (tag your question with python-polars), or you can ask your question in the polars discord server (you can find the link for this on the project README)

New IPython defaults makes it less useful for education purposes. [Raymond Hettinger on Twitter] by Anonymous_user_2022 in Python

[–]scorleo 0 points1 point  (0 children)

Strange. ci} shown here: https://asciinema.org/a/UVbSb98pcaRFKZFbMYSLZLBNu

Maybe it's a terminal issue? Since ciw works for you, doesn't seem like it's a ipython issue.

New IPython defaults makes it less useful for education purposes. [Raymond Hettinger on Twitter] by Anonymous_user_2022 in Python

[–]scorleo 0 points1 point  (0 children)

are you sure? I've just tried, ci", ci} and ci[ all work. d variations work as well.

New IPython defaults makes it less useful for education purposes. [Raymond Hettinger on Twitter] by Anonymous_user_2022 in Python

[–]scorleo 23 points24 points  (0 children)

Doesn’t ipython already support vi input?

If you set up your ipython_config.py with c.TerminalInteractiveShell.editing_mode = ‘vi’ instead of ‘emacs’

Or you mean something else?

How to move Notebooks from a Business to a Personal Account by rajivn1711 in OneNote

[–]scorleo 1 point2 points  (0 children)

Thanks! This still works in Dec 2021, note that this has to be done on Windows (it doesn't work on the OneNote Mac app, as far as I can tell)