From f2af5667ed68da6d7f7014764062152484327486 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Fri, 17 Sep 2021 08:35:05 +0200 Subject: [PATCH] Removed unnecessary config + switch to unstable --- modules/kakoune.nix | 59 +-------------------------------------------- 1 file changed, 1 insertion(+), 58 deletions(-) diff --git a/modules/kakoune.nix b/modules/kakoune.nix index ec71aa5..1244c88 100644 --- a/modules/kakoune.nix +++ b/modules/kakoune.nix @@ -84,7 +84,7 @@ let ] ); - plugins = with stablePkgs; [ + plugins = with pkgs; [ kakounePlugins.prelude-kak kakounePlugins.kak-lsp # kakounePlugins.auto-pairs-kak @@ -344,63 +344,6 @@ in args = ["start"] '' ) - ++ [ - '' - # Semantic tokens support - # See https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens - # for the default list of tokens and modifiers. - # However, many language servers implement their own values. - # Make sure to check the output of `lsp-capabilities` and each server's documentation and source code as well. - # Examples: - # - TypeScript: https://github.com/microsoft/vscode-languageserver-node/blob/2645fb54ea1e764aff71dee0ecc8aceff3aabf56/client/src/common/semanticTokens.ts#L58 - # - Rust Analyzer: https://github.com/rust-analyzer/rust-analyzer/blob/f6da603c7fe56c19a275dc7bab1f30fe1ad39707/crates/ide/src/syntax_highlighting.rs#L42 - [[semantic_tokens]] - token = "comment" - face = "documentation" - modifiers = ["documentation"] - - [[semantic_tokens]] - token = "comment" - face = "comment" - - [[semantic_tokens]] - token = "function" - face = "function" - - [[semantic_tokens]] - token = "keyword" - face = "keyword" - - [[semantic_tokens]] - token = "namespace" - face = "module" - - [[semantic_tokens]] - token = "operator" - face = "operator" - - [[semantic_tokens]] - token = "string" - face = "string" - - [[semantic_tokens]] - token = "type" - face = "type" - - [[semantic_tokens]] - token = "variable" - face = "default+d" - modifiers = ["readonly"] - - [[semantic_tokens]] - token = "variable" - face = "default+d" - modifiers = ["constant"] - - [[semantic_tokens]] - token = "variable" - face = "variable"'' - ] ); xdg.dataFile."applications/kakoune.desktop".source =