Add skeleton.toml
This commit is contained in:
parent
af257ac118
commit
0ba2e5df3a
|
@ -0,0 +1,33 @@
|
||||||
|
# This is a TOML document
|
||||||
|
|
||||||
|
title = "TOML Example"
|
||||||
|
|
||||||
|
[owner]
|
||||||
|
name = "Sage Vaillancourt"
|
||||||
|
dob = 1996-08-02T07:32:00-08:00
|
||||||
|
|
||||||
|
[database]
|
||||||
|
enabled = true
|
||||||
|
ports = [ 8000, 8001, 8002 ]
|
||||||
|
data = [ ["delta", "phi"], [3.14, 1.312] ]
|
||||||
|
temp_targets = { cpu = 79.5, case = 72.0 }
|
||||||
|
|
||||||
|
[servers] # Not strictly necessary. servers.<x> implicitly creates the 'servers' table
|
||||||
|
|
||||||
|
[servers.alpha]
|
||||||
|
ip = "10.0.0.1"
|
||||||
|
role = "frontend"
|
||||||
|
|
||||||
|
[servers.beta]
|
||||||
|
ip = "10.0.0.2"
|
||||||
|
role = "backend"
|
||||||
|
|
||||||
|
# Array of tables
|
||||||
|
|
||||||
|
[[users]]
|
||||||
|
name = "Sage"
|
||||||
|
color = "pink"
|
||||||
|
|
||||||
|
[[users]]
|
||||||
|
name = "Willow"
|
||||||
|
color = "teal"
|
|
@ -172,6 +172,7 @@ if has ("autocmd")
|
||||||
autocmd BufNewFile *.jsx 0r ~/.vim/templates/skeleton.jsx
|
autocmd BufNewFile *.jsx 0r ~/.vim/templates/skeleton.jsx
|
||||||
autocmd BufNewFile *.tsx 0r ~/.vim/templates/skeleton.tsx
|
autocmd BufNewFile *.tsx 0r ~/.vim/templates/skeleton.tsx
|
||||||
autocmd BufNewFile *.json 0r ~/.vim/templates/skeleton.json
|
autocmd BufNewFile *.json 0r ~/.vim/templates/skeleton.json
|
||||||
|
autocmd BufNewFile *.toml 0r ~/.vim/templates/skeleton.toml
|
||||||
autocmd BufNewFile *.yaml 0r ~/.vim/templates/skeleton.yaml
|
autocmd BufNewFile *.yaml 0r ~/.vim/templates/skeleton.yaml
|
||||||
autocmd BufNewFile *.go 0r ~/.vim/templates/skeleton.go
|
autocmd BufNewFile *.go 0r ~/.vim/templates/skeleton.go
|
||||||
autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile
|
autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile
|
||||||
|
|
Loading…
Reference in New Issue