mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-20 09:10:12 +00:00
Code review fixes
Co-Authored-By: Veetaha <veetaha2@gmail.com>
This commit is contained in:
parent
590af37bff
commit
b892a48740
5 changed files with 18 additions and 18 deletions
|
@ -5,7 +5,7 @@ import { Config } from './config';
|
|||
import { CallHierarchyFeature } from 'vscode-languageclient/lib/callHierarchy.proposed';
|
||||
import { SemanticTokensFeature, DocumentSemanticsTokensSignature } from 'vscode-languageclient/lib/semanticTokens.proposed';
|
||||
|
||||
export function configToServerOptions(config: Config): object {
|
||||
export function configToServerOptions(config: Config) {
|
||||
return {
|
||||
publishDecorations: !config.highlightingSemanticTokens,
|
||||
lruCapacity: config.lruCapacity,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue