mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
35 lines
732 B
Nix
35 lines
732 B
Nix
{ config, ... }:
|
|
let
|
|
accent = "#${config.lib.stylix.colors.base0D}";
|
|
muted = "#${config.lib.stylix.colors.base03}";
|
|
in {
|
|
programs.nixvim = {
|
|
extraFiles."after/ftplugin/markdown.lua".text = ''
|
|
vim.bo.tabstop = 2
|
|
vim.bo.shiftwidth = 2
|
|
vim.bo.expandtab = true
|
|
vim.wo.cursorline = false
|
|
'';
|
|
|
|
# Plugins
|
|
plugins = {
|
|
# Render UI elements
|
|
render-markdown = {
|
|
enable = true;
|
|
settings = { completions.lsp.enabled = true; };
|
|
};
|
|
|
|
mkdnflow = {
|
|
enable = true;
|
|
mappings = {
|
|
MkdnTableNextCell = {
|
|
key = "<S-Tab>";
|
|
modes = "i";
|
|
};
|
|
MkdnTablePrevCell = false;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|