hmts.nvim icon indicating copy to clipboard operation
hmts.nvim copied to clipboard

Custom treesitter queries for Home Manager nix files, in Neovim

Results 6 hmts.nvim issues
Sort by recently updated
recently updated
newest added

Was spending some time trying to figure out why my NixVim installation was running slower, enabling and disabling just about everything until looking at this plugin. Nothing else makes a...

bug

On line 44, I do string interpolation, and the Lua highlighting is broken after that. ![CleanShot 2023-10-30 at 07 31 51](https://github.com/calops/hmts.nvim/assets/8648891/8a0fc1fb-bf39-421b-99f3-7c5fe2acdd46)

bug
help wanted

Follow-up to #9 Find a way to support arbitrarily complex ways to write shebangs. For example, this doesn't work: `!#${pkgs.bash}/bin/bash`. This is because the nix variable in the middle makes...

enhancement

When I annotate a string (eg. a neovim-plugin's config with `/* lua */`, I get proper syntax highlighting only for that string, but now in all of the rest of...

Issue to track what's happening there: https://github.com/neovim/neovim/issues/30792 The latest neovim nightly breaks `TSNode:field()` that we rely on. There's a way to work around it but it's probably not worth it...

Example: https://nix-community.github.io/nixvim/plugins/trouble/luaConfig.html The keys are `programs.nixvim.plugins..luaConfig.pre` and `.post`. ``` ; Lua (binding attrpath: (_) @_path (#hmts-path? @_path "programs" "nixvim" "plugins" ".*" "luaConfig" "(post|pre)$") expression: (_ (string_fragment) @injection.content) (#set! injection.language "lua")...

enhancement