-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
40 lines (39 loc) · 927 Bytes
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { configSet, andThenSet, Init } from './lib';
import { pipe } from 'fp-ts/lib/pipeable';
export const init: Init = pipe(
configSet('editor', {
accessibilitySupport: 'off',
autoClosingQuotes: 'always',
formatOnPaste: true,
formatOnSave: true,
formatOnType: true,
mouseWheelScrollSensitivity: 3,
mouseWheelZoom: true,
multiCursorModifier: 'ctrlCmd',
tabSize: 2
}),
andThenSet('explorer', {
confirmDelete: false,
confirmDragAndDrop: false
}),
andThenSet('files', {
autoSave: 'off',
exclude: {
'**/.DS_Store': true,
'**/.git': true,
'**/.hg': true,
'**/.history': true,
'**/.svn': true,
'**/CVS': true,
'**/node_modules': true
},
trimTrailingWhitespace: true
}),
andThenSet('search', {
exclude: {
'**/.history': true,
'**/bower_components': true,
'**/node_modules': true
}
})
);