Skip to content

Commit a0650d6

Browse files
committed
Changed some default settings, fixed typos in docs, added green theme
1 parent e757b5d commit a0650d6

File tree

4 files changed

+599
-34
lines changed

4 files changed

+599
-34
lines changed

.nev/settings.json

-29
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,6 @@
2121
]
2222
},
2323

24-
"+nim": {
25-
"settings": {
26-
"project": [],
27-
"xprojectMapping": [],
28-
"test-project": "",
29-
"buildOnSave": false,
30-
"buildCommand": "c",
31-
"runOutputDirectory": "",
32-
"lintOnSave": true,
33-
"enableNimsuggest": false,
34-
"useNimsuggestCheck": false,
35-
"logNimsuggest": true,
36-
"licenseString": "",
37-
"nimsuggestRestartTimeout": 10,
38-
"nimprettyIndent": 0,
39-
"nimprettyMaxLineLen": 80,
40-
"inlayHints": {
41-
"typeHints": {
42-
"enable": true
43-
},
44-
"exceptionHints": {
45-
"enable": true,
46-
"hintStringLeft": "🔔",
47-
"hintStringRight": ""
48-
}
49-
}
50-
}
51-
},
52-
5324
"+rust": {
5425
"rust-analyzer": {
5526
"linkedProjects": ["temp/rust_test/Cargo.toml"]

config/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "settings.schema.json",
33

44
"+ui": {
5-
"theme": "app://themes/tokyo-night-color-theme.json",
5+
"theme": "app://themes/green.json",
66
},
77

88
"+platform": {

docs/configuration.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Additionally to the `settings.json` and `keybindings.json` files, the editor als
2626

2727
`{platform}` is one of (`windows`, `linux`, `other`) and `{backend}` is one of (`gui`, `terminal`, `browser`)
2828

29-
These additional settings files are useful for having different cofiguration on different operating systems
29+
These additional settings files are useful for having different configuration on different operating systems
3030
(e.g. different paths to LSP executables)
3131

3232
The `keybindings*.json` files can only bind existing commands (builtin or from plugins).
@@ -38,7 +38,7 @@ Settings are internally stored in stores, where each settings store consists of
3838

3939
Setting stores can override or extend the settings from the parent. Some stores are loaded from a file, some are only in memory.
4040

41-
Setting stores form a tree, with the base store at the root and indidual text editors (for individual files) as leaves.
41+
Setting stores form a tree, with the base store at the root and individual text editors (for individual files) as leaves.
4242

4343
When the application reads the value of a setting, depending on the context it reads it from either an editor store, document store, language store or the runtime store.
4444

@@ -252,7 +252,7 @@ The following special keys are defined:
252252
To specify that a modifier should be held down together with another key you need to used `<XXX-YYY>`, where `XXX` is any combination of modifiers
253253
(`S` = shift, `C` = control, `A` = alt) and `YYY` is either a single ascii character for the key, or one of the special keys (e.g. `ENTER`).
254254

255-
If you use a upper case ascii character as key then this automatically means it uses shift, so `A` is equivalent to `<S-a>` and `<S-A>`
255+
If you use an upper case ascii character as key then this automatically means it uses shift, so `A` is equivalent to `<S-a>` and `<S-A>`
256256

257257
Some examples:
258258

@@ -371,4 +371,4 @@ Here is an overview of the modules:
371371
- `editor_api`: Contains general functions like changing font size, manipulating views, opening and closing files, etc.
372372
- `editor_text_api`: Contains functions for interacting with a text editor (e.g. modifiying the content).
373373
- `editor_model_api`: Contains functions for interacting with an model editor (e.g. modifying the content).
374-
- `popup_selector_api`: Contains functions for interacting with a selector popup.
374+
- `popup_selector_api`: Contains functions for interacting with a selector popup.

0 commit comments

Comments
 (0)