[Physics Girl's] first science video in 3 years!
[Physics Girl's] first science video in 3 years!
I bought this clacky thing and started using emacs for the third(?) time.
Setting up for python development is incredible frustrating
Why might my treesitter symbols be empty?
I’m on NixOS and slowly working through neovim config. I have treesitter installed with all grammars and it’s set up in lua. When I run :TSymbols, it pops open a window showing -----treesitter-----, but no symbols are shown from the (python) code I have open. All of the setup is put in place by the config flake I’m using, but I don’t think there’s any additional stuff to add for symbols to work. The treesitter section in the resulting init.lua from nix looks like this: require('nvim-treesitter.configs').setup({ ["context_commentstring"] = { ["enable"] = false }, ["highlight"] = { ["enable"] = true }, ["incremental_selection"] = { ["enable"] = false, ["keymaps"] = { ["init_selection"] = "gnn", ["node_decremental"] = "grm", ["node_incremental"] = "grn", ["scope_incremental"] = "grc" } }, ["indent"] = { ["enable"] = false }, ["refactor"] = { ["highlight_current_scope"] = { ["enable"] = false }, ["highlight_definitions"] = { ["clear_on_cursor_move"] = true, ["enable"] = false }, ["navigation"] = { ["enable"] = false, ["keymaps"] = { ["goto_definition"] = "gnd", ["goto_next_usage"] = "<a-*>", ["goto_previous_usage"] = "<a-#>", ["list_definitions"] = "gnD", ["list_definitions_toc"] = "gO" } }, ["smart_rename"] = { ["enable"] = false, ["keymaps"] = { ["smart_rename"] = "grr" } } } })
Does anyone use NixNeovim to configure their Neovim?
https://github.com/NixNeovim/NixNeovim [https://github.com/NixNeovim/NixNeovim] I’m getting back into my setup after dualbooting and not touching it for a while. Flakes, home-manager, all that jazz. I was in the middle of messing around with my neovim config, bouncing between nixvim and nixneovim. Can’t really remember why I was landing on nixneovim, but I think it had to do with having more 1-to-1 vim options through nix and more available plugins. Part of this post is just to see what everyone’s using, but I also can’t copy to the system clipboard for the life of me! No ctrl-shift-v or anything. Oddly enough, ctrl-click-drag will copy a cut-off box of text. In nixneovim there’s an option for clipboard, but that’s just a string like ‘unnamed’ or ‘unnamedplus’, straight from the vim options. Nixvim has the option abstracted in a way that has the register and a provider for the functionality like wl-clip. I don’t remember it not working with nixneovim before. That was months ago, though. Hoping someone would have an insight as I’ve been too deep in the weeds.