Skip to content

Commit 43a98f2

Browse files
committed
adding stylua, rockspec
1 parent 4523e67 commit 43a98f2

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

dorm-scm-1.rockspec

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
local MODREV, SPECREV = "scm", "-1"
2+
rockspec_format = "3.0"
3+
package = "dorm"
4+
version = MODREV .. SPECREV
5+
6+
description = {
7+
summary = "Extensibility for everyone",
8+
labels = { "neovim", "notes", "markdown" },
9+
homepage = "https://github.com/clpi/dorm.lua",
10+
license = "GPL-3.0",
11+
}
12+
13+
dependencies = {
14+
"lua == 5.1",
15+
"nvim-nio ~> 1.7",
16+
"lua-utils.nvim == 1.0.2",
17+
"plenary.nvim == 0.1.4",
18+
"nui.nvim == 0.3.0",
19+
"pathlib.nvim ~> 2.2",
20+
}
21+
22+
source = {
23+
url = "http://github.com/clpi/dorm.lua/archive/v" .. MODREV .. ".zip",
24+
}
25+
26+
if MODREV == "scm" then
27+
source = {
28+
url = "git://github.com/clpi/dorm.lua",
29+
}
30+
end
31+
32+
test_dependencies = {
33+
"nlua",
34+
-- Placed here as we plan on removing nvim-treesitter as a dependency soon, but it's still required for various tests.
35+
"nvim-treesitter == 0.9.2",
36+
}
37+
38+
build = {
39+
type = "builtin",
40+
copy_directories = {
41+
"queries",
42+
"doc",
43+
}
44+
}

stylua.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
column_width = 80
2+
line_endings = "Unix"
3+
indent_type = "Spaces"
4+
indent_width = 2
5+
quote_style = "AutoPreferDouble"
6+
no_call_parentheses = false

0 commit comments

Comments
 (0)