most menu events mapped; cleanup
This commit is contained in:
@@ -15,15 +15,15 @@ export const EditorSettings: any = {
|
||||
enableSnippets: true,
|
||||
highlightActiveLine: true,
|
||||
enableMultiselect: true,
|
||||
tabSize: 4,
|
||||
useSoftTabs: true,
|
||||
tabSize: 4,
|
||||
navigateWithinSoftTabs: true,
|
||||
tooltipFollowsMouse: true,
|
||||
wrapBehavioursEnabled: false,
|
||||
scrollPastEnd: 0.5,
|
||||
mergeUndoDeltas: false,
|
||||
showGutter: true,
|
||||
customScrollbar: true,
|
||||
navigateWithinSoftTabs: true,
|
||||
scrollSpeed: 5
|
||||
}
|
||||
};
|
@@ -50,7 +50,7 @@ export class LSPService {
|
||||
private getLanguageProviderWithClientServer(mode: string) {
|
||||
let _initializationOptions = {};
|
||||
|
||||
if (Object.keys(this.lspConfigData).length !== 0) {
|
||||
if ( Object.keys(this.lspConfigData).length !== 0 && this.lspConfigData[mode] ) {
|
||||
_initializationOptions = this.lspConfigData[mode]["initialization-options"];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user