mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Adds nixd support to helix config
This commit is contained in:
parent
96a78829d5
commit
c552e15697
1 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
|
@ -12,6 +13,14 @@
|
|||
programs = {
|
||||
helix = {
|
||||
enable = true;
|
||||
languages.language = [
|
||||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
language-servers = ["nixd-lsp"];
|
||||
}
|
||||
];
|
||||
languages.language-server.nixd-lsp.command = "${inputs.nixd.packages.${pkgs.system}.default}/bin/nixd";
|
||||
settings.editor.line-number = "relative";
|
||||
settings.keys = {
|
||||
normal = {
|
||||
|
|
Loading…
Add table
Reference in a new issue