mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixvimConfigs/fiesta: improve treesitter and UI setup
This commit is contained in:
parent
23914fe2eb
commit
65a526308e
@ -49,21 +49,10 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable some more context for me.
|
|
||||||
plugins.treesitter-context = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
line_numbers = true;
|
|
||||||
max_lines = 7;
|
|
||||||
mode = "cursor";
|
|
||||||
separator = "*";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Some niceties for refactoring.
|
# Some niceties for refactoring.
|
||||||
plugins.treesitter-refactor = {
|
plugins.treesitter-refactor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
highlightCurrentScope.enable = true;
|
highlightCurrentScope.enable = false;
|
||||||
highlightDefinitions.enable = true;
|
highlightDefinitions.enable = true;
|
||||||
navigation.enable = true;
|
navigation.enable = true;
|
||||||
smartRename.enable = true;
|
smartRename.enable = true;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, helpers,... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
nixvimCfg = config.nixvimConfigs.fiesta;
|
nixvimCfg = config.nixvimConfigs.fiesta;
|
||||||
@ -42,6 +42,25 @@ in
|
|||||||
# Taste the rainbow delimiters.
|
# Taste the rainbow delimiters.
|
||||||
plugins.rainbow-delimiters.enable = nixvimCfg.setups.treesitter.enable;
|
plugins.rainbow-delimiters.enable = nixvimCfg.setups.treesitter.enable;
|
||||||
|
|
||||||
|
# Taste the indent guides (with rainbow delimiters).
|
||||||
|
plugins.indent-blankline = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
indent = {
|
||||||
|
char = "┊";
|
||||||
|
};
|
||||||
|
scope.char = "┃";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# mini.plugins
|
||||||
|
plugins.mini = {
|
||||||
|
enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
mockDevIcons = true;
|
||||||
|
modules.icons = { };
|
||||||
|
};
|
||||||
|
|
||||||
# Enable them status bars.
|
# Enable them status bars.
|
||||||
plugins.lualine = {
|
plugins.lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user