mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2026-05-05 05:48:03 +02: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
Reference in a new issue