diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-06-17 13:37:45 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-06-17 13:37:45 -0400 |
| commit | 02664db8a5d4d97da0b90be7b1a031a226b52d04 (patch) | |
| tree | 417a32567ea13a37301d01ada392d9f6261871d0 | |
| parent | 8c8c3c7565749dc992a9048f43731b10c6e9eac3 (diff) | |
| download | home-02664db8a5d4d97da0b90be7b1a031a226b52d04.tar.gz | |
modules/neovim: setup color highlighting
| -rw-r--r-- | modules/neovim/default.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/modules/neovim/default.nix b/modules/neovim/default.nix index 80e2498..2f6f54d 100644 --- a/modules/neovim/default.nix +++ b/modules/neovim/default.nix @@ -3,9 +3,7 @@ let cfg = config.modules.neovim; scheme = config.modules.scheme; fromGitHub = ref: repo: pkgs.vimUtils.buildVimPlugin { - pname = "${lib.strings.sanitizeDerivationName repo}"; - version = ref; - src = builtins.fetchGit { + pname = "${lib.strings.sanitizeDerivationName repo}"; version = ref; src = builtins.fetchGit { url = "https://github.com/${repo}.git"; ref = ref; }; @@ -43,7 +41,22 @@ in vimdiffAlias = true; plugins = with pkgs.vimPlugins; [ nvim-treesitter + base16-nvim # nvim-treesitter.withAllGrammars + { + plugin = nvim-highlight-colors; + type = "lua"; + config = + # lua + '' + require("nvim-highlight-colors").setup { + render = 'virtual', + virtual_symbol_position = 'eow', + virtual_symbol_prefix = " ", + virtual_symbol_suffix = "", + } + ''; + } (nvim-treesitter.withPlugins (p: with p; [ tree-sitter-nix tree-sitter-make @@ -83,8 +96,6 @@ in # noice-nvim nvim-lspconfig # blink-cmp - # tinted-vim - base16-nvim telescope-nvim telescope-fzf-native-nvim # fzf-lua |