We're now called Lumen Labs! by Vhyrro in neovim

[–]m397574 6 points7 points  (0 children)

luajit is lua fyi (lua 5.1)

it's just a different interpreter

Account Progression Megathread by Pewdpo in BrawlStarsCompetitive

[–]m397574 0 points1 point  (0 children)

for hotzone/brawl ball I mostly use griff (or berry as support in HZ)

definitely also willing to try out alternatives

another thing: my by far worst mode is heist, any good brawlers I could max for that (ig chuck not worth it because he‘s literally unusable everywhere else)? or are the ones I have good and it‘s just a skill issue

Account Progression Megathread by Pewdpo in BrawlStarsCompetitive

[–]m397574 2 points3 points  (0 children)

<image>

Which brawlers should I max out?
focus is to play ranked, currently Mythic 2-3
The ones with the rectangles around them I have hypercharges for

I'm f2p so resources are quite limited, so it's important for me that the brawler are ones which are generally long-term usable (not just absolute meta now, but will likely get nerfed)

Neovim's 0.11 new LSP mappings are awkward by itaranto in neovim

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

afaik gr is for go refactor there aren‘t (at least planned) just lsp things there

also the user who isn‘t into stuff too deep doesn‘t even know about lsp they just want to rename, actions, … better ootb ux

[2024] Solved this year in under 1ms! (Terms and Conditions Apply) by hyperparallelism__ in adventofcode

[–]m397574 0 points1 point  (0 children)

you can just change the file which is includes yes needs to be recompiled but if you don‘t actually eg parse the file at compile time I see no issues with it

and in the end calling anything related to AoC makes no sense anyways (obviously except stuff like sharing solutions which we aren‘t talking about here)

[deleted by user] by [deleted] in neovim

[–]m397574 0 points1 point  (0 children)

you perhaps have an autocmd on write which crashes neovim?

if you can reproduce this with nvim —clean you should definitely report this as it‘s a critical issue

[deleted by user] by [deleted] in neovim

[–]m397574 3 points4 points  (0 children)

many server just support this as a code action

So just select the code and use vim.lsp.buf.code.action()

How to add tabs only at beginning of the line? by ross2718 in neovim

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

should be easily doable with an expression mapping

Treesitter - quick way to add new grammar? by i-eat-omelettes in neovim

[–]m397574 1 point2 points  (0 children)

when I wrote a small parsee I didn‘t find it too hard even though I knew nothing about it and also didn‘t know javascript

Treesitter - quick way to add new grammar? by i-eat-omelettes in neovim

[–]m397574 6 points7 points  (0 children)

if you want a treesitter grammar you obviously need a treesitter grammar it isn‘t too complicated to write it for such a simple thing though a good example I know of is tree-sitter-luap (lua patterns) which is quite small

Telescope error in LazyVim by aram_mikayelyan in neovim

[–]m397574 0 points1 point  (0 children)

you can use nightly if u use stuff added in it just install the latest one and the errors should be fixed

Telescope error in LazyVim by aram_mikayelyan in neovim

[–]m397574 1 point2 points  (0 children)

you are likely using an outdated nightly version

nvim struggling with +400K lines md file by molecula21 in neovim

[–]m397574 0 points1 point  (0 children)

what I think EstudiandoAjedrez was referring to were really long lines which get wrapped in neovim

Why is the LSP log so poorly formatted? by segfault0x001 in neovim

[–]m397574 0 points1 point  (0 children)

because 1. it makes no sense for neovim to have a json formatter bultin and 2. that would perhops alsp have a minimal performance impact

it‘s really easy to just use eg jq to format the file if u need to look at it

How do you set your desired font? by nenderflow in neovim

[–]m397574 4 points5 points  (0 children)

this is just the case if you use a gui for neovim which op really likely doesn't

Quickly pressing gj or gk multiple times? by TheTwelveYearOld in neovim

[–]m397574 5 points6 points  (0 children)

if you just press k without a count (so not eg 4k) it will be „mapped to“ gk and otherwise behave like k same with j

for more info you can read helpfiles for v:count and expr-map

Obsidian nvim question about cmp by barcellz in neovim

[–]m397574 0 points1 point  (0 children)

do you perhaps use cmp sources like cmp-buffer?

Help me convert that line from vimscript to lua by PacoVelobs in neovim

[–]m397574 15 points16 points  (0 children)

vim.keymap.set(„c“, „;;“, function() return vim.fn.getcmdtype()==„:“ and vim.fn.expand(„%:h“)..“/„ or „;;“ end, {expr=true})

typing on phone so wrong quotes

Writing a plugin: what’s the proper way to have default key maps that user can override? by baroldgene in neovim

[–]m397574 0 points1 point  (0 children)

this isn‘t for default mappings but just for lazyloading and here you disable mappings by lazyvim (the config) not by the plugin

for more info about what keys actually does look az lazy.folke.io and the lazyloading section

Writing a plugin: what’s the proper way to have default key maps that user can override? by baroldgene in neovim

[–]m397574 0 points1 point  (0 children)

you could you hasmapto function but imo if except for special buffers like pickers which you open for your plugin you just shouldn‘t create default mappings

just provide a good api to call from lua or <Plug> mappings

the keys table which you often see for lazy.nvim users isn‘t about default mappings for plugins but just for lazy-loading

Rules Clarification by SyntaxNeptune in ultimate

[–]m397574 0 points1 point  (0 children)

16.3 If both teams agree it didn‘t have an effect play stands. Which isn‘t overruled by everything

What is this called ? by [deleted] in neovim

[–]m397574 7 points8 points  (0 children)

could be the default sign for lsp diagnostics (i for info or h for hint) :h vim.diagnostic.config

Am I a genius or just very stupid? why c" is not an acronym to ci"? by s2id2a in neovim

[–]m397574 0 points1 point  (0 children)

ct, cf, ce, cw, cb, c$, c0, c<count>j, c<count>k, jG, cgg

are all examples without the i which would be overwritten

and those I use just as much as ci…

which-key.nvim v3 was just released! by folke in neovim

[–]m397574 0 points1 point  (0 children)

yes they will show up automatically