File tree Expand file tree Collapse file tree 1 file changed +9
-19
lines changed Expand file tree Collapse file tree 1 file changed +9
-19
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 config ,
4- pkgs ,
54 ...
65} :
7- let
8- cfg = config . plugins . hmts ;
9- in
10- {
11- meta . maintainers = [ lib . maintainers . GaetanLepage ] ;
12-
13- options . plugins . hmts = {
14- enable = lib . mkEnableOption "hmts.nvim" ;
6+ lib . nixvim . neovim-plugin . mkNeovimPlugin {
7+ name = "hmts" ;
8+ originalName = "hmts.nvim" ;
9+ package = "hmts-nvim" ;
1510
16- package = lib . mkPackageOption pkgs "hmts.nvim" {
17- default = [
18- "vimPlugins"
19- "hmts-nvim"
20- ] ;
21- } ;
22- } ;
11+ maintainers = [ lib . maintainers . GaetanLepage ] ;
2312
24- config = lib . mkIf cfg . enable {
13+ callSetup = false ;
14+ hasSettings = false ;
15+ hasLuaConfig = false ;
16+ extraConfig = {
2517 warnings = lib . optional (
2618 ! config . plugins . treesitter . enable
2719 ) "Nixvim: hmts needs treesitter to function as intended" ;
28-
29- extraPlugins = [ cfg . package ] ;
3020 } ;
3121}
You can’t perform that action at this time.
0 commit comments