mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
nix: init plugin
This commit is contained in:
parent
aa9ea48962
commit
5474eba2fb
2 changed files with 13 additions and 0 deletions
|
@ -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
12
plugins/languages/nix.nix
Normal 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 = {};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue