mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 00:55:58 +08:00
helix: add markdown support
This commit is contained in:
parent
d7343b98c9
commit
3f027f7bae
1 changed files with 10 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
marksman
|
||||
];
|
||||
settings = {
|
||||
theme = "snazzy";
|
||||
editor .true-color = true;
|
||||
|
|
@ -8,6 +12,12 @@
|
|||
# Shortcut to save file, in any mode.
|
||||
keys.insert."C-s" = [ ":write" "normal_mode" ];
|
||||
keys.normal."C-s" = ":write";
|
||||
|
||||
editor.lsp = {
|
||||
display-messages = true;
|
||||
display-inlay-hints = true;
|
||||
display-signature-help-docs = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue