mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 17:24:32 +02:00
treewide: treesitter moduleConfig -> settings
This commit is contained in:
parent
435ef287ab
commit
97fa47376b
3 changed files with 3 additions and 3 deletions
|
@ -144,7 +144,7 @@ with lib;
|
|||
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
plugins.treesitter.moduleConfig.refactor = {
|
||||
plugins.treesitter.settings.refactor = {
|
||||
highlight_definitions = {
|
||||
inherit (cfg.highlightDefinitions) enable disable;
|
||||
clear_on_cursor_move = cfg.highlightDefinitions.clearOnCursorMove;
|
||||
|
|
|
@ -193,7 +193,7 @@ with lib;
|
|||
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
plugins.treesitter.moduleConfig.textobjects =
|
||||
plugins.treesitter.settings.textobjects =
|
||||
with cfg;
|
||||
let
|
||||
processKeymapsOpt =
|
||||
|
|
|
@ -178,7 +178,7 @@ with lib;
|
|||
mkIf cfg.enable {
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
plugins.treesitter.moduleConfig.matchup = mkIf cfg.treesitterIntegration.enable {
|
||||
plugins.treesitter.settings.matchup = mkIf cfg.treesitterIntegration.enable {
|
||||
inherit (cfg.treesitterIntegration) enable disable;
|
||||
disable_virtual_text = cfg.treesitterIntegration.disableVirtualText;
|
||||
include_match_words = cfg.treesitterIntegration.includeMatchWords;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue