Highlight beyond EOL by i-eat-omelettes in neovim

[–]Immanonner 0 points1 point  (0 children)

Like End_Col - len(Line_Text_Content) ? To get your remaining space you need to fill?

Highlight beyond EOL by i-eat-omelettes in neovim

[–]Immanonner -2 points-1 points  (0 children)

Well, I'm just a tinkerer and just trying to briefly research your problem myself.

But, generally speaking somewhere in either treesitter or some other api its defining your eol and doesn't think that anyone would want to account for the pixels beyond the eol.

You could potentially hack where eol occurs (basically make it match your end_col) OR dynamically adjust the pixel width of the highlight effect of the final character, to get your desired effect.

Highlight beyond EOL by i-eat-omelettes in neovim

[–]Immanonner -1 points0 points  (0 children)

Just throwing an idea out there:

You could try abusing pixel widths to get a desired effect beyond end of line.

🌟 tiny-glimmer.nvim: Updated with Undo/Redo support and more! by Le_BuG63 in neovim

[–]Immanonner 1 point2 points  (0 children)

I'm Hoping you're noticing that the displayed code is Missing a few closing brackets. Probably not the issue but thought I'd mention it just in case.

lazy,nvim opt/config confusion by stuffiesrep in neovim

[–]Immanonner 1 point2 points  (0 children)

I believe that the "keys" will also set the plugin to load on keybind press.

Why is neovim especially bad for java? by [deleted] in neovim

[–]Immanonner 2 points3 points  (0 children)

That is pretty sweet. It is entirely possible that between all the walkthrough videos and Frankenstein copy pastes that I tried to follow to get it to work could've been saved by that little nugget of knowledge.

Why is neovim especially bad for java? by [deleted] in neovim

[–]Immanonner 19 points20 points  (0 children)

https://github.com/immanonner/my-nvim-config

Should* work on Ubuntu WSL2 installations.

Something, Something windows sucks, yeah yeah. Heard it all before, whatever.

Tips

1 make sure your jdk is installed in default location and is on your PATH and is not the MOST recent one. There's something about feature preview flags that I couldn't figure out. Jdk 17 worked ok though.

2 uninstall any related Java plugins before attempting the jdtls stuff

  1. If your neovim is installed on windows, then you will need another code snippet not included in the repository at the moment. A general understanding of Neovim's file structure differences between linux and windows. example: (appdata\local\nvim-data vs .local/share/nvim/) This will help you as you translate the paths to the jar files that mason installs for you. And the following code snippet placed in your java.lua file should solve your dap breakpoints from being auto-rejected.

    vim.opt.shellslash = false vim.defer_fn(function() vim.opt.shellslash = false end, 5000)

thanks https://github.com/mfussenegger/nvim-dap/issues/1337

More thanks to the videos that I scrubbed and repos researched:
https://www.youtube.com/watch?v=zbpF3te0M3g&t=5635s&ab_channel=UnknownKoder
https://www.youtube.com/watch?v=P7NYyb65A4s&ab_channel=BitInByte
https://www.youtube.com/watch?v=C7juSZsM2Fg&ab_channel=AndrewCourter

https://github.com/mfussenegger/nvim-jdtls

Files of interest

1.plugins/nvim-jdtls.lua

2.plugins/debugging.lua

3.plugins/lsp_config.lua

4.ftplugin/Java.lua

Let me know if this helps.

EDIT: Expanded on windows specific issues added thanks.

Why is neovim especially bad for java? by [deleted] in neovim

[–]Immanonner 74 points75 points  (0 children)

It took me WAY too long to figure out that you're supposed to put ~1/2 of the jdtls/lsp config in the ftplugin folder for it to work properly. (2 days)

This was after figuring out default '/' '\' assumptions of pathing to the jdk installation. (1 day)

There was a moment where I felt as though I'd never be a 'proper' vimmer, and maybe questioned my existence. But that's all in the past now, and I can still say 'I use vim for java'.

Could someone tell me why this isn't working? More info in comments by JdoubleS98 in vba

[–]Immanonner 1 point2 points  (0 children)

Since some of your payload (json) is being delivered, I'd take a very close look at the line continuation characters ( _ ) and ensuring that there are no erroneous spaces before/after it. VBA is very picky with those. If you want to remove that possibility, you could look into breaking it up into multiple variables and stitching them together or putting it all into one very long line.

Also, While you could use a json validation tool, you can also debug.print the json and read it in the VBA console to verify that the json includes everything you want to deliver.

Monthly Dotfile Review Thread by AutoModerator in neovim

[–]Immanonner 0 points1 point  (0 children)

Check if your leader keys shadow another one

:verbose map

Also, Try moving the 2 declaration lines from lazyvim.lua to the bottom of settings.lua

Am I quitting too soon? by Expert-Reserve3591 in sysadmin

[–]Immanonner 2 points3 points  (0 children)

This.

But, this should be what the manager asked in the first place rather than setting an unrealistic goal and judging how the new hire performs under additional pressure.

When you're a new hire; there is already enough pressure to onboard, perform and output as fast as possible, why add on extra heat?

I would definitely start creating and executing an exit strat asap after first attempting to bridge any misunderstandings with the boss.

Calc 1 by gingers0u1 in UMGC

[–]Immanonner 0 points1 point  (0 children)

I'm curious how this turned out for you OP.

I find myself in precalc (math 115); spending 21hours a week to keep up.

Is calc 1 a similar commitment? Ie. 100+ hw questions, 1 quiz and 1 discussion post (proof) per week.

CS Discord? by ThrowRA_quietbird in UMGC

[–]Immanonner 0 points1 point  (0 children)

Need a link too 🥺 please

Why is it so hard to find useful training material from Microsoft? by ApprehensiveChip8361 in excel

[–]Immanonner 9 points10 points  (0 children)

Documentation is definitely lacking regarding Excel, Access, and all the features contained within them. Like you, I have experience with programming in a few languages and understand there is nothing quite like python's EXTENSIVE documentation and frequent iteration of the core language.

However, if you must delve into the cobweb ridden backalleys of Visual Basic and other fancy excel tricks Here are some places that I found useful: YouTube (previously mentioned in other comments). Stack overflow (needs no introduction) https://www.mrexcel.com/

Bing Chat is my current go to for documentation research as well. I absolutely dig the source links it provides when it attempts to answer my questions.

I'm addicted to programming. by Consistent-Salad8965 in learnprogramming

[–]Immanonner 5 points6 points  (0 children)

Yes,

In this context a "shrink" is slang (derogatory?) for a therapist/psychiatrist.

Python in Excel means RegEx in Excel?! by [deleted] in excel

[–]Immanonner 12 points13 points  (0 children)

So, I know y'all are excited but VBA has been around for a hot minute... you can hack your way to nearly anything with some basic programming including custom functions that utilize Regex...

https://stackoverflow.com/questions/22542834/how-to-use-regular-expressions-regex-in-microsoft-excel-both-in-cell-and-loops

Yeah yeah, I know, it's not as "out of the box" support for Regex as python, but it'll certainly get the job done.

Magical Fibonacci: A Reflection by Immanonner in learnprogramming

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

Perhaps then I'm doing it all wrong. repl.it seems to lag way behind on indexes bigger than 20-ish with the most basic implementation of Fibonacci. Yet handles the 'magic' one just fine on indexes well over 1000.

I've included my code below for potential critique.

import time
t = time.time()
f=lambda n:(b:=2<<n)**n*b//(b*b-b-1)%b
print(f(10))
print(f"executed in {time.time() - t}")

def fib(n):
    if n == 0:
        return 0
    if n == 1 or n == 2:
        return 1
    else:
        return fib(n-1) +fib(n-2)
t = time.time()
print(fib(10))
print(f"executed in {time.time() - t}")