temperance/configuration.nix: disable docker
This commit is contained in:
parent
559ccacb10
commit
57612c66fe
2 changed files with 24 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
|||
tinymist,
|
||||
typescript-language-server,
|
||||
vscode-langservers-extracted,
|
||||
simple-completion-language-server,
|
||||
helix,
|
||||
...
|
||||
}: let
|
||||
|
@ -136,6 +137,12 @@
|
|||
auto-format = true;
|
||||
language-servers = ["dprint" "typescript-language-server"];
|
||||
}
|
||||
{
|
||||
name = "jjdescription";
|
||||
scope = "source.jjdescription";
|
||||
file-types = ["jjdescription"];
|
||||
language-servers = ["scls"];
|
||||
}
|
||||
{
|
||||
name = "json";
|
||||
formatter = mark "json";
|
||||
|
@ -144,10 +151,11 @@
|
|||
name = "markdown";
|
||||
auto-format = true;
|
||||
formatter = mark "md";
|
||||
language-servers = ["scls" "marksman"];
|
||||
}
|
||||
{
|
||||
name = "nix";
|
||||
language-servers = ["nil"];
|
||||
language-servers = ["nil" "scls"];
|
||||
}
|
||||
{
|
||||
name = "qml";
|
||||
|
@ -255,6 +263,20 @@
|
|||
config.nil.formatting.command = ["${getExe alejandra}" "-q"];
|
||||
};
|
||||
|
||||
scls = {
|
||||
command = getExe simple-completion-language-server;
|
||||
config = {
|
||||
max_completion_items = 100; # set max completion results len for each group: words, snippets, unicode-input
|
||||
feature_words = true; # enable completion by word
|
||||
feature_snippets = true; # enable snippets
|
||||
snippets_first = true; # completions will return before snippets by default
|
||||
snippets_inline_by_word_tail = false; # suggest snippets by WORD tail, for example text `xsq|` become `x^2|` when snippet `sq` has body `^2`
|
||||
feature_unicode_input = false; # enable "unicode input"
|
||||
feature_paths = false; # enable path completion
|
||||
feature_citations = false; # enable citation completion (only on `citation` feature enabled)
|
||||
};
|
||||
};
|
||||
|
||||
typescript-language-server = {
|
||||
command = lib.getExe typescript-language-server;
|
||||
args = ["--stdio"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue