Removed unnecessary config + switch to unstable
This commit is contained in:
parent
99ecdcaa57
commit
f2af5667ed
1 changed files with 1 additions and 58 deletions
|
|
@ -84,7 +84,7 @@ let
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
plugins = with stablePkgs; [
|
plugins = with pkgs; [
|
||||||
kakounePlugins.prelude-kak
|
kakounePlugins.prelude-kak
|
||||||
kakounePlugins.kak-lsp
|
kakounePlugins.kak-lsp
|
||||||
# kakounePlugins.auto-pairs-kak
|
# kakounePlugins.auto-pairs-kak
|
||||||
|
|
@ -344,63 +344,6 @@ in
|
||||||
args = ["start"]
|
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 =
|
xdg.dataFile."applications/kakoune.desktop".source =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue