diff options
| -rw-r--r-- | home/kak-lsp.toml | 10 | ||||
| -rwxr-xr-x | shell-scripts/kakup | 8 | ||||
| -rwxr-xr-x | shell-scripts/nixup | 8 |
3 files changed, 17 insertions, 9 deletions
diff --git a/home/kak-lsp.toml b/home/kak-lsp.toml index 05be517..b0592cf 100644 --- a/home/kak-lsp.toml +++ b/home/kak-lsp.toml @@ -1,5 +1,5 @@ -bsnippet_support = true -erbosity = 2 +snippet_support = true +verbosity = 2 [server] # exit session if no requests were received during given period in seconds @@ -398,6 +398,12 @@ filetypes = ["zig"] roots = ["build.zig"] command = "zls" +[language.cs] +filetypes = ["cs"] +roots = [".git"] +command = "OmniSharp" +args = ["--encoding", "utf-8", "-z", "--languageserver", "DotNet:enablePackageRestore=false", "FormattingOptions:EnableEditorConfigSupport=true", "Sdk:IncludePrereleases=true"] + # Semantic tokens support # See https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens # for the default list of tokens and modifiers. diff --git a/shell-scripts/kakup b/shell-scripts/kakup index bb4a051..1512ad5 100755 --- a/shell-scripts/kakup +++ b/shell-scripts/kakup @@ -11,16 +11,16 @@ session-or-client() { export client=kakc@$name tmux has-session -t $server || { - tmux new -d -s $server -n $server bash -c "[[ -f .envrc ]] && eval \"$(direnv export bash)\"; { kak -s $name -d & }; tmux wait -S $name; wait" - tmux wait $name - } + tmux new -d -s $server -n $server bash -c '[[ -f .envrc ]] && eval "$(direnv export bash)"; { kak -s '$name' -d & }; tmux wait -S '$name'; wait' + tmux wait "$name" + } if [[ -z $TMUX ]]; then tmux has-session -t $client || tmux new -d -s $client -n $client kak -c $name else tmux new-window -n $client kak -c $name fi popd - } </dev/stdin >/dev/null 2>&1 + } </dev/stdin >debug 2>&1 echo $client } diff --git a/shell-scripts/nixup b/shell-scripts/nixup index 1270a89..c0f43a0 100755 --- a/shell-scripts/nixup +++ b/shell-scripts/nixup @@ -65,10 +65,12 @@ EOF fi docker run --volumes-from=nix-data-${USER} --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ + -v /etc/kube:/etc/kube \ + -v /etc/ssl/certs/ca-bundle.crt:/etc/ssl/certs/ca-bundle.crt \ -v /etc/ssl/certs/ca-bundle.crt:/etc/ssl/certs/ca-certificates.crt \ - -e GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt \ - -e NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt \ - -e SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt \ + -e GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt \ + -e NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt \ + -e SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt \ -e no_proxy=$no_proxy \ -e http_proxy=$http_proxy \ -e https_proxy=$http_proxy \ |
