File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 9494 enable = true ;
9595 autotagHtml = true ;
9696 context . enable = true ;
97+ textobjects . enable = false ;
9798 } ;
9899 keys = {
99100 enable = true ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ with lib;
99 fold = mkDefault true ;
1010 autotagHtml = mkDefault false ;
1111 context . enable = mkDefault false ;
12- textobjects = mkDefault true ;
12+ textobjects . enable = mkDefault false ;
1313 } ;
1414 } ;
1515}
Original file line number Diff line number Diff line change 2323 description = "enable autoclose and rename html tag [nvim-ts-autotag]" ;
2424 } ;
2525
26- textobjects = mkOption {
26+ textobjects . enable = mkOption {
2727 type = types . bool ;
2828 description = "enable nvim-treesitter-textobjects and its default configuration" ;
2929 } ;
3333 vim . startPlugins = with pkgs . neovimPlugins ; (
3434 [ nvim-treesitter ] ++
3535 ( withPlugins cfg . autotagHtml [ nvim-ts-autotag ] ) ++
36- ( withPlugins cfg . textobjects [ nvim-treesitter-textobjects ] )
36+ ( withPlugins cfg . textobjects . enable [ nvim-treesitter-textobjects ] )
3737 ) ;
3838
3939 vim . configRC = writeIf ( cfg . fold && ! config . vim . lsp . folds ) ''
6464 enable = true,
6565 },
6666
67- ${ writeIf cfg . textobjects ''
67+ ${ writeIf cfg . textobjects . enable ''
6868 textobjects = {
6969 enable = true,
7070 swap = {
You can’t perform that action at this time.
0 commit comments