~havi/nvim.d

nvim.d/.devcontainer/devcontainer.json -rw-r--r-- 1.7 KiB
f5f5475dhavi feat(snippets/json/markdown): add note frontmatter snippets 4 days ago
                                                                                
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// vim: filetype=jsonc syntax=jsonc softtabstop=2 tabstop=2 shiftwidth=2 fileencoding=utf-8 smartindent autoindent expandtab
{
	// "dockerFile": "archlinux.Dockerfile",
  "image": "fjolsvin/nvim.d:archlinux",
	"workspaceFolder": "/workspace/nvim.d",
  "name": "${containerWorkspaceFolderBasename}",
  "workspaceMount": "source=${localWorkspaceFolder},target=${containerWorkspaceFolder},type=bind,consistency=cached",
  "settings": {
    "files.eol": "\n",
    "files.exclude": {
      "**/.vagrant": true,
      "**/.git": true
    },
    "[settings.json]": {
      "editor.formatOnSave": false
    },
    "[devcontainer.json]": {
      "editor.formatOnSave": false
    },
    "terminal.integrated.profiles.linux": {
      "bash": {
        "path": "/bin/bash",
        "args": [
          "--login"
        ]
      }
    },
    "terminal.integrated.defaultProfile.linux": "bash"
  },
  "extensions": [
    "sumneko.lua",
    "koihik.vscode-lua-format",
    "editorconfig.editorconfig",
    "bungcip.better-toml",
    "mutantdino.resourcemonitor",
    "EditorConfig.EditorConfig",
    "kevinkyang.auto-comment-blocks",
    "ms-azuretools.vscode-docker",
    "karyfoundation.comment",
    "wmaurer.change-case",
    "skellock.just",
    "chrislajoie.vscode-modelines"
  ],
  "mounts": [
    "source=${localWorkspaceFolderBasename}-home,target=/home/vscode,type=volume,consistency=cached",
    "source=${localEnv:HOME}/.docker,target=/home/vscode/.docker,type=bind",
    "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
  ],
  "postCreateCommand": "ssh-add -l && nvim --version",
  "remoteUser": "vscode",
  "updateRemoteUserUID": true,
  "runArgs": [
    "--init",
		"--name","${containerWorkspaceFolderBasename}"
  ]
}