Commit Graph

15 Commits

Author SHA1 Message Date
Naïm Favier bd11e2c5e6
Replace usage of `literalExample`
Instead use the new function `literalExpression`. See

  https://github.com/NixOS/nixpkgs/pull/136909
2021-10-13 00:16:10 +02:00
Jakub Kozłowski d420287583
vscode: add `args` option to keybindings
Also make `when` optional.
2021-02-05 22:38:37 +01:00
Nicolas Berbiche 44f9d68d8c
treewide: replace attrs by formats or types.anything 2020-11-29 21:54:55 -05:00
Robert Helgesson e7d5531cfa
vscode: apply nixfmt 2020-10-12 22:51:12 +02:00
Christoph Herzog 1ed8e7ef98
vscode: add options for keybindings
Adds a new `keybindings` option to the `vscode` configuration.

It contains a list of key bindings, which will be written to
`%vscode-dir%/User/keybindings.json`.

PR #1351
2020-09-04 14:14:52 +02:00
Zsolt Szende 507e446475
vscode: fix extensions directory path
Fixes #1302
PR #1327
2020-06-14 00:43:44 +02:00
Bill Sun fe145b12cd
vscode: fix extension path symlink error
Fix extension path symlink error caused by [1], which removes
`/share/{wrappedPkgName}/extensions` from the extension install path.

[1] https://github.com/NixOS/nixpkgs/pull/71251

PR #1100
2020-03-21 17:47:32 +01:00
Konrad Borowski 711109d468
vscode: correct VSCodium extension directory path 2019-12-07 15:04:11 +01:00
worldofpeace ef11164c0c vscode: don't create an empty settings.json
If I enable this module without using the userSettings option it will
create an empty settings.json. We use mkIf to prevent this on the default
value.
2019-11-28 16:01:58 -05:00
Pasquale 595150be86
vscode: correct base path from which to pull extensions 2019-11-15 23:18:12 +01:00
HerrMAzik 08094f3cc2
vscode: fix configDir for VSCodium 2019-11-15 23:15:00 +01:00
Pasquale 024d1aa227
vscode: add package option and link extensions 2019-10-20 21:49:17 +02:00
Robert Helgesson 056443ccbd
vscode: fix configuration path for Darwin
Fixes #737
2019-07-22 12:44:52 +02:00
Robert Helgesson e1535d2bd8
vscode: add example for `extensions` option 2019-05-31 21:37:28 +02:00
hyperfekt 6ab6488e5a
vscode: add module 2018-11-26 00:01:01 +01:00