firenvim
This commit is contained in:
parent
1b96fb4103
commit
674dbb42fa
@ -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;
|
||||
|
29
home/laptop/programs/neovim/firenvim.nix
Normal file
29
home/laptop/programs/neovim/firenvim.nix
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user