Itsfrank's Avatar

Itsfrank

@itsfrank

Software Engineer

15
Followers
16
Following
22
Posts
21.11.2023
Joined
Posts Following

Latest posts by Itsfrank @itsfrank

Preview
Advent of Neovim - YouTube

If you have not been following @teejdv's (please make a bsky account) "advent of neovim", do yourself a favor and check it out! Advanced users can probably skip the first 4-5, but ive been learning something new in each of the latter videos! youtube.com/playlist?lis...

15.12.2024 08:02 πŸ‘ 5 πŸ” 0 πŸ’¬ 1 πŸ“Œ 1

OCaml is a blast, pure functional >90% of the time, but for those moments where you really need a hash map/array or mutability, it's there and blends right into your program!

13.12.2024 07:54 πŸ‘ 9 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

Caveat that, of course, I won't replace every json, but if one needs to be manually maintained and has recurring patterns or duplicate info I will be fast on the trigger to swap it for a lua generator.

I think this is what apple tried to do with pkl, but it felt like overkill for my current needs

10.12.2024 07:31 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Lune – Lune

I'm done with json, after 2 years of neovim, I never want to write json again if I can instead write Lua (or luau).

I just replaced my karabiner.json with a Lua file that generates the json and it's so much better.

Using lune-org.github.io/docs and it's serde built-in

10.12.2024 07:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Wow amazing, thank you! I'll try it out and take a look, I am also no treesitter expert, but if I find an opportunity to contribute I'll send it your way

07.12.2024 07:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Ocaml neovim users, do you get treesitter textobjects? I've found the ones I use a lot with other languages like `vif` (select function) or `vaa` (select parameter) dont work with ocaml

Is this just the nature of the syntax? Are there other text objects I should configure for ocaml specifically?

06.12.2024 20:19 πŸ‘ 3 πŸ” 1 πŸ’¬ 2 πŸ“Œ 0
A large brown, black and white eagle descends with wings outstretched as a younger eagles tries to grab her catch with their talons.

A large brown, black and white eagle descends with wings outstretched as a younger eagles tries to grab her catch with their talons.

An adult African Fish Eagle wanting their share of the sub-adult’s catch…

πŸ“Akagera National Park, Rwanda.

#Raptors #TalonTuesday #birds #wildlife #nature #BirdPhotography πŸͺΆ

03.12.2024 16:58 πŸ‘ 133 πŸ” 13 πŸ’¬ 3 πŸ“Œ 0

Very interesting, I bet this will change with the new `dune tools` stuff in dune developer preview

02.12.2024 07:55 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Woah interesting, thanks for the tip! Any idea why dune watch is necessary? Seems like a strange interaction between the two tools.

Glad there is a solution, but I would love if it could work without dune watching

02.12.2024 07:47 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Ocaml users, how do you auto-format dune files? Bonus points if you use neovim with conform/null-ls

02.12.2024 04:17 πŸ‘ 4 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0

I use it to debug other languages too, any debugger that implements the dap protocol will work (i.e any debugger that works with vscode)

28.11.2024 02:24 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You got me to check my dotfiles to make sure it was indeed built-in and I didn't also have a keymap for this 🀣

27.11.2024 23:22 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Release v8.2.4242: patch 8.2.4242: put in Visual mode cannot be repeated Β· vim/vim Problem: Put in Visual mode cannot be repeated. Solution: Use "P" to put without yanking the deleted text into the unnamed register. (Shougo Matsushita, closes #9591)

The vim patch: github.com/vim/vim/rele...

27.11.2024 19:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Change - Neovim docsNeovim Neovim user documentation

I think this was added natively to both vim and neovim in ~2022: neovim.io/doc/user/cha...

27.11.2024 19:22 πŸ‘ 1 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

Check out the neovim feed bsky.app/profile/did:...

23.11.2024 04:14 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Come hang with us in the neovim feed! bsky.app/profile/did:...

20.11.2024 03:52 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

🐫 πŸ’―

19.11.2024 07:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

If there are other ways to achieve this with nvim-dap, nvim-dap-ui, or any other neovim plugins please let me know!

19.11.2024 06:14 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Finally got around to making a logpoint/conditional breakpoint UI for #neovim with nvim-dap.

So cool how you can edit them in the middle of a debug session and the changes will carry over.

It's a tiny amount of code, but I packaged it as a plugin for those interested: github.com/itsfrank/bre...

18.11.2024 22:34 πŸ‘ 3 πŸ” 0 πŸ’¬ 3 πŸ“Œ 0
A pair of Malachite Kingfishers. Normally found on their own and highly territorial - preferring a solitary life. They only come together for the breeding season. Photographed in Kigali, Rwanda.

A pair of Malachite Kingfishers. Normally found on their own and highly territorial - preferring a solitary life. They only come together for the breeding season. Photographed in Kigali, Rwanda.

A pair of Malachite Kingfishers.

πŸ“Kigali, Rwanda.

16.11.2024 14:40 πŸ‘ 156 πŸ” 13 πŸ’¬ 6 πŸ“Œ 0
Preview
GitHub - nvim-lua/kickstart.nvim: A launch point for your personal nvim configuration A launch point for your personal nvim configuration - nvim-lua/kickstart.nvim

I was struggling too until I restarted with github.com/nvim-lua/kic...

It's been 2 years now, and I could not be happier. 0 lines remain from the original kickstart config, but it helped me focus on one piece at a time

16.11.2024 20:53 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The heck! That should say Neovim!

09.11.2024 03:38 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Tech industry: frontend or backend?
Me, a c++ engineer: huh?

22.11.2023 20:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Me: pip install pandas
My resume: skills: data science

22.11.2023 04:27 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0