nix: init plugin

This commit is contained in:
Pedro Alves 2021-03-01 19:54:40 +00:00
parent aa9ea48962
commit 5474eba2fb
2 changed files with 13 additions and 0 deletions

View file

@ -15,6 +15,7 @@
./utils/endwise.nix
./languages/treesitter.nix
./languages/nix.nix
./nvim-lsp
./nvim-lsp/lspsaga.nix

12
plugins/languages/nix.nix Normal file
View file

@ -0,0 +1,12 @@
{ lib, pkgs, ... }@attrs:
let
helpers = import ../helpers.nix { lib = lib; };
in with helpers; with lib;
mkPlugin attrs {
name = "nix";
description = "Enable nix";
extraPlugins = [ pkgs.vimPlugins.vim-nix ];
# Possibly add option to disable Treesitter highlighting if this is installed
options = {};
}