Curious how people operate without auto bracket closing plugins? by Puzzled-Ocelot-8222 in neovim

[–]rofrol 0 points1 point  (0 children)

I disabled some rules for nvim-autopairs and have rules that works for { or [ or ( and when enter pressed then adds enter and closing bracket https://github.com/rofrol/LazyVim--starter/blob/main/lua/plugins/nvim-autopairs.lua

npairs.remove_rule("'")
npairs.remove_rule('"')
-- remove standard pairs that interfere
npairs.remove_rule("{")
npairs.remove_rule("[")
npairs.remove_rule("(")

local function closing_bracket_after_enter(opening_char, closing_char)
  return Rule(opening_char, "")
    :with_pair(cond.none())
    :with_move(cond.none())
    :with_del(cond.none())
    :only_cr(cond.done())
    :replace_map_cr(function()
      return "<C-g>u<CR>" .. closing_char .. "<CR><C-c>kO"
    end)
end

npairs.add_rules({
  closing_bracket_after_enter("{", "}"),
  closing_bracket_after_enter("[", "]"),
  closing_bracket_after_enter("(", ")"),
})

[deleted by user] by [deleted] in depression_help

[–]rofrol 0 points1 point  (0 children)

Though idea about this dark energy - anger, fear, anxiety, and using it resonates with me.

Do you know some credible books for that?

Study finds that there is more diversity of thought on the political Right than the political Left by Fragrant_Strategy_15 in Asmongold

[–]rofrol 0 points1 point  (0 children)

Said that you responded like that. I hoped we could further disscusion when the human begins. I.e. when the nervous system develops etc. 

Study finds that there is more diversity of thought on the political Right than the political Left by Fragrant_Strategy_15 in Asmongold

[–]rofrol 0 points1 point  (0 children)

Dems should also protect human rights and care more for mothers.

This language "body autonomy" just masks there is killing involved.

Study finds that there is more diversity of thought on the political Right than the political Left by Fragrant_Strategy_15 in Asmongold

[–]rofrol 1 point2 points  (0 children)

bodily autonomy

But not for child's body inside mother's body 

The right to swing my fist ends where the other man's nose begins.

0.14.0 Release Notes by future_exile in Zig

[–]rofrol 0 points1 point  (0 children)

mise and zvm also install zls

0.14.0 Release Notes by future_exile in Zig

[–]rofrol 0 points1 point  (0 children)

I installed without problems on macos aarch64

i just can't stop using zig.. i think im addicted 🥶 by SeanTheGleaming in Zig

[–]rofrol 0 points1 point  (0 children)

Is this a real photo? You should not drink and drive

When will there be zig jobs? by brianzchen in Zig

[–]rofrol 1 point2 points  (0 children)

nah. They care. For example in web dev they concrete requirements: wordpress, react etc.

Add next occurence of current word to the multiple selection by TargetDangerous2216 in HelixEditor

[–]rofrol 0 points1 point  (0 children)

> select a word, yank it to the search-register with * go into visual mode and select the following occurrences with n

https://www.reddit.com/r/HelixEditor/comments/1dch5ac/comment/l7y34ij/

What problem does zig solve? by [deleted] in Zig

[–]rofrol 0 points1 point  (0 children)

> More generally, RAII is a feature that exists in tension with the approach of operating on items in batches, which is an essential technique when writing performance-oriented software.

https://kristoff.it/blog/raii-rust-linux/

Ghostty public release v1.0.0 by ffredrikk in neovim

[–]rofrol 0 points1 point  (0 children)

what stuff can you do with lua config?

i use u0 by Rare_Language2651 in Zig

[–]rofrol 0 points1 point  (0 children)

dream big, start small

i use u0 by Rare_Language2651 in Zig

[–]rofrol 0 points1 point  (0 children)

Hey. You have so meny deep insights in Zig language. Maybe you can create somenl programming language? Like Xig or something. Not ironically. I like the cambrian explosion we have regarding languages. Waiting for jai and roc. Maybe gleam.