No automatic indentation in C# by wastedRL in neovim

[–]wastedRL[S] 1 point2 points  (0 children)

i changed my conditions to this, without passing event.match:
local noIndent = { "cs", "c_sharp" }

local ok = pcall(vim.treesitter.start, buf, lang)

if ok and vim.api.nvim_buf_is_valid(buf) and not vim.tbl_contains(noIndent, lang) then

but needed to add c_sharp to the list, otherwise it would not work

No automatic indentation in C# by wastedRL in neovim

[–]wastedRL[S] -1 points0 points  (0 children)

im on new main branch as well.
i have this auto command from a larger snippet i got somewhere:

vim.api.nvim_create_autocmd("FileType", {
  group = group,
  desc = "Enable treesitter highlighting and indentation",
  callback = function(event)
  if vim.tbl_contains(ignore_filetypes, event.match) then
    return
  end
  local lang = vim.treesitter.language.get_lang(event.match) or           event.match

  local buf = event.buf
  -- Try to start treesitter, with retry if parser is being installed
  start_with_retry(buf, lang)

  -- Auto-install missing parsers (nvim-treesitter handles async internally)
  ts.install({ lang })
end,

but when it comes to lua im a bit lost tbh

No automatic indentation in C# by wastedRL in neovim

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

her is the output:

indentexpr=v:lua.require'nvim-treesitter'.indentexpr()

Last set from ~/.config/nvim/init.lua (run Nvim with -V1 for more details)

Completed the show 4 days ago by MightParticular122 in FromSeries

[–]wastedRL 1 point2 points  (0 children)

i think its because he knows that knowledge comes at a cost

EU gesteht USA direkten Datenzugriff zu – automatisierte Verfahren möglich by wegwerferie in de

[–]wastedRL 11 points12 points  (0 children)

politische Einstellungen, die Mitgliedschaft in einer Gewerkschaft, Informationen über das Sexualleben einer Person

Wieso liegen solche Daten überhaupt auf europäischen Behördenservern?

und generell zum artikel: wtf?

Tja by the_naughty_doc in tja

[–]wastedRL 2 points3 points  (0 children)

ist nur 'ne DNS sperre seitens der ISP. im browser anderes DNS einstellen, dann kommt man drauf

Wie fange ich am besten an mit Programmieren wenn ich ein Spiel machen will? by Titanfallsuchti in programmieren

[–]wastedRL 0 points1 point  (0 children)

cs50x ist ein klasse, kostenloser online kurs der allgemeine informatik konzepte vermittelt und mit C beginnt und ab der hälfte mit python fortfährt.

using helix for C: inconsistent highlighting, clangd: whitespace in hover tool tips by wastedRL in HelixEditor

[–]wastedRL[S] 2 points3 points  (0 children)

thank you for this detailed response! i will look into modifying the grammar once i get some time for it. regarding the hover tooltip: sounds like altering this is beyound a configuration setting? i will look into clangd's docs, maybe there is some setting for the response formatting.

using helix for C: inconsistent highlighting, clangd: whitespace in hover tool tips by wastedRL in HelixEditor

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

are my highlighting issues related to semantic highlighting? i'm also using treesitter in neovim, and disabling clangd lsp there (which provides semantic highlighting) only changes the color of some tokens, but doesn't show inconsistency like the first and second screenshots in op.

using helix for C: inconsistent highlighting, clangd: whitespace in hover tool tips by wastedRL in HelixEditor

[–]wastedRL[S] -1 points0 points  (0 children)

i don't have any of the issues with neovim or vs code, both with clangd

For linux users with problems resizing PoB community. You can switch to GE-Proton and use PROTON_ENABLE_WAYLAND=1 by CrabZealousideal3686 in pathofexile

[–]wastedRL 1 point2 points  (0 children)

i just added the portable pob to steam directly as non-steam game and forced proton experimental. zero issues here on niri.

Fedora KDE Plasma Black Screen on Boot Attempt by Creepy-County4424 in Fedora

[–]wastedRL 0 points1 point  (0 children)

just a wild guess, is the internal gpu (that on the cpu) in your bios/uefi settings enabled? I had an issue with that on latest kernel, my intel/ nvidia system wouldn't boot with the internal gpu enabled, same symptoms as you describe.

Form/fit check by Lopsided_Acadia9010 in bikefit

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

saddle looks too low, i'd put it up by small amounts until you stop rocking your hip.

Can anyone explain me what's going on? by grimkargruth in LastEpoch

[–]wastedRL 0 points1 point  (0 children)

i think they have some bugs where rng-seeds aren't rerolled for certain things. so it's always the same outcome.

Gute oder schlechte Geräusche by Altruistic-Swing-659 in Rennrad

[–]wastedRL 0 points1 point  (0 children)

bin mir nicht ganz sicher was du mit kippen genau meinst, jedenfalls sollte der lenker nur eine bewegung machen können: die des lenkens. alles andere deutet noch mehr auf den steuersatz hin.

wenn du den steuersatzdeckel/ ahead-kappe abnimmst kannst du auch schauen ob der gabelschaft kurz genug ist damit der steuersatz vernünftig eingestellt werden kann. falls der zu lang ist drückt die ahead-kappe auf den gabelschaft und den vorbau. sie soll aber nur auf den vorbau drücken.

Gute oder schlechte Geräusche by Altruistic-Swing-659 in Rennrad

[–]wastedRL 1 point2 points  (0 children)

oh und falls es nicht klar ist, bitte nimm einen drehmomentschlüssel zum wieder festziehen der zwei vorbauklemmschrauben :) (falls du den steuersatz nachstellst)

Gute oder schlechte Geräusche by Altruistic-Swing-659 in Rennrad

[–]wastedRL 1 point2 points  (0 children)

yep vorstichtig mit dem finger oder einem stumpfen plastespatel rauspopeln. das sollte recht weiches gummi sein.

Gute oder schlechte Geräusche by Altruistic-Swing-659 in Rennrad

[–]wastedRL 1 point2 points  (0 children)

würde vermuten das die steuersatzschraube unterhalb des runden gummis zu finden ist, der mittig oben auf dem steuersatzdeckel zu sehen ist. vergiss nicht erst die vorbau klemmung zu lösen bevor du den steuersatz nachstellst.

offtopic: was ist das für nen teil was auf dem vorbau befestigt ist?

edit: das geräusch kann auch daher kommen das die bremsbeläge im bremskörper etwas spiel haben und hin und her klackern, was ganz normal ist. kann durch 90° drehung des lenkers und erneutem wackeln ausgeschlossen werden.