feat(cli/nvf): add custom nix snippet for nvf
This commit is contained in:
parent
e65b478d21
commit
a668db89b3
5 changed files with 52 additions and 5 deletions
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf (config.cli.editor == "nvf") {
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
|
@ -8,6 +13,7 @@
|
|||
programs.nvf = {
|
||||
enable = true;
|
||||
settings.vim = {
|
||||
startPlugins = [ pkgs.pantheon.snippets ];
|
||||
hideSearchHighlight = true;
|
||||
syntaxHighlighting = true;
|
||||
telescope.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue