This commit is contained in:
Ivan Dimitrov 2023-10-30 20:03:16 +02:00
parent 1b96fb4103
commit 674dbb42fa
2 changed files with 30 additions and 1 deletions

View File

@ -15,7 +15,7 @@ let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
];
in
{
imports = [ ./py.nix ./hs.nix ./bash.nix ./nix.nix ./lua.nix ./js.nix ./util.nix ];
imports = [ ./firenvim.nix ./py.nix ./hs.nix ./bash.nix ./nix.nix ./lua.nix ./js.nix ./util.nix ];
programs.neovim = {
enable = true;

View File

@ -0,0 +1,29 @@
{ pkgs, lib, ... }:
let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
];
in
{
programs.neovim = {
extraPackages = with pkgs; [
];
plugins = with pkgs.vimPlugins; grammars ++ [
firenvim
];
extraLuaConfig = ''
vim.g.firenvim_config = {
globalSettings = { alt = "all" },
localSettings = {
[".*"] = {
cmdline = "neovim",
content = "text",
priority = 0,
selector = "textarea",
takeover = "never"
}
}
}
'';
};
}