nixos-config/configs/nixvim/fiesta/default.nix

43 lines
762 B
Nix
Raw Normal View History

2024-01-25 14:51:05 +00:00
{ config, lib, pkgs, ... }:
{
imports = [ ./modules ];
2024-01-25 14:51:05 +00:00
config = {
nixvimConfigs.fiesta.setups = {
snippets.enable = true;
ui.enable = true;
completion.enable = true;
treesitter.enable = true;
fuzzy-finder.enable = true;
debugging.enable = true;
desktop-utils.enable = true;
};
# Some general settings.
globals = {
mapleader = " ";
maplocalleader = ",";
syntax = true;
};
2024-01-25 14:51:05 +00:00
options = {
encoding = "utf-8";
completeopt = [ "menuone" "noselect" ];
};
2024-01-25 14:51:05 +00:00
keymaps = [
{
mode = "i";
key = "jk";
action = "<Esc>";
}
];
plugins.nvim-autopairs.enable = true;
extraPlugins = with pkgs; [
decker
];
};
2024-01-25 14:51:05 +00:00
}