-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinit.lua
More file actions
57 lines (42 loc) · 812 Bytes
/
init.lua
File metadata and controls
57 lines (42 loc) · 812 Bytes
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
57
local jn = require("json_nvim.json_nvim")
local M = {}
function M.FormatFile()
jn.format_file()
end
function M.MinifyFile()
jn.minify_file()
end
function M.FormatSelection()
jn.format_selection()
end
function M.MinifySelection()
jn.minify_selection()
end
function M.FormatToken()
jn.format_token()
end
function M.MinifyToken()
jn.minify_token()
end
function M.UnescapeFile()
jn.unescape_file()
end
function M.EscapeFile()
jn.escape_file()
end
function M.EscapeSelection()
jn.escape_selection()
end
function M.UnescapeSelection()
jn.unescape_selection()
end
function M.KeysToSnakeCase()
jn.switch_to_snake_case()
end
function M.KeysToCamelCase()
jn.switch_to_camel_case()
end
function M.KeysToPascalCase()
jn.switch_to_pascal_case()
end
return M