普通视图

发现新文章,点击刷新页面。
昨天以前咸糖的博客

Neovim: No Crash Incremental Selection

2024年7月11日 23:16
When I use neovim treesitter incremental selection, it randomly crashes, but I cannot stable reproduce it. And I found some issues and complaints about this issue, but no solution. So I decide to write a blog post to record this issue and the solution. related issues: https://www.reddit.com/r/neovim/comments/10wwkft/comment/j7qla2q/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button https://github.com/neovim/neovim/issues/24336 https://github.com/neovim/neovim/issues/25254 https://www.reddit.com/r/neovim/comments/18dn4qt/treesitter_incremental_selection/ TL;DR paste this https://github.com/xiantang/nvim-conf/blob/7c0d6cbf6d9fd7b6a8960de887db1109332419bf/lua/plugins/treesitter.lua#L62-L132 into your neovim configuration file. this is my treesitter incremental selection configuration: 1 2 3 4 5 6 7 8 9 incremental_selection = { enable = true, keymaps = { init_selection = true, node_incremental = "v", node_decremental = "<BS>", }, }, sometime when I use v to expand the selection, it crashes, and it’s a Segmentation fault, and I have the report:

Nixos use old version software

2024年7月8日 23:42
NixOS users often face situations where the latest software versions have issues, but the NixOS channel only offers the fixed versions. Here’s how to use an older version of software: According to the blog post How to use old versions of software in NixOS, you can follow these steps to use an older software version: Search for the old version of the software Use https://lazamar.co.uk/nix-versions/ to search for old packages.
❌
❌