mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
specify lsp configuration in lang module
This commit is contained in:
parent
e08fd4dc9f
commit
385793a2ea
2 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,9 @@
|
|||
servers = {
|
||||
marksman = {
|
||||
enable = true;
|
||||
cmd = ["${pkgs.marksman}/bin/marksman" "server"];
|
||||
cmd = [(getExe pkgs.marksman) "server"];
|
||||
filetypes = ["markdown" "markdown.mdx"];
|
||||
root_markers = [".marksman.toml" ".git"];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
settings = {
|
||||
nil = formattingCmd;
|
||||
};
|
||||
filetypes = ["nix"];
|
||||
root_markers = [".git" "flake.nix"];
|
||||
};
|
||||
|
||||
nixd = {
|
||||
|
@ -49,6 +51,8 @@
|
|||
settings = {
|
||||
nixd = formattingCmd;
|
||||
};
|
||||
filetypes = ["nix"];
|
||||
root_markers = [".git" "flake.nix"];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue