altermo

Results 47 comments of altermo

With the release of neovim 0.10, the thing that broke this has been fixed inside neovim. (see https://github.com/neovim/neovim/commit/da541c0af1ef6589548140ebce133ad3fecf6d42) As I don't see any way of fixing this issue in the...

No, the way the plugin is currently set up, it is not possible to do anything after the initial insertion. However one could create an external program. Here's an example...

Your UA config worked for me with this minimal config: Click text to open and show minimal config Open this file with `nvim --clean` and run `:source` (it will hang...

That's because the failing node's type is `type_parameters` (rather than `type_arguments`), so just add it to the list of nodes to make it work. Generally, if it fails somewhere, use...

Yeah, I can add `` though it will take time as the API that would make this feature easily implemented is on the TODO stack. I don't know about ``:...

I'm planning to add it to version 0.7 Version 0.7 will probably come out in a few months, as there's still a lot of work to be done

`cond` takes a function so early-return true if the file type is `rust`. (`fn.get_ft()` is treesitter-injected-lang aware) The config would be: ```lua config_internal_pairs = { { "'", "'", multiline =...

What about setting a buffer-local(`b:`) unique object and then doing cleanup when that object gets garbage collected because the buffer no longer exists? Here is an example script: ```lua local...