Neovim, Add c language support
This commit is contained in:
parent
92211cc1be
commit
14b3dab476
4 changed files with 11 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
enable = lib.mkEnableOption "Enables neovim";
|
||||
languages = {
|
||||
nix.enable = lib.mkEnableOption "Enables nix support";
|
||||
c.enable = lib.mkEnableOption "Enables c support";
|
||||
};
|
||||
plugins = {
|
||||
comments.enable = lib.mkEnableOption "Enables nvim-comment";
|
||||
|
|
@ -45,6 +46,7 @@
|
|||
|
||||
extraPackages = with pkgs; [
|
||||
(lib.mkIf config.neovim.languages.nix.enable nil)
|
||||
(lib.mkIf config.neovim.languages.c.enable libclang)
|
||||
];
|
||||
|
||||
# Additional packages are added through imports
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue