Skip to content

Commit f2ffd02

Browse files
committed
fix indent
1 parent fe4fc8c commit f2ffd02

File tree

2 files changed

+45
-45
lines changed

2 files changed

+45
-45
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ labels: [bug]
55
body:
66
- type: markdown
77
attributes:
8-
value: |
9-
- Avoid generic or vague titles such as "Something's not working" or "A couple of problems" — be as descriptive as possible.
10-
- Keep your issue focused on one single problem. If you have multiple bug reports, please create a separate issue for each of them.
11-
- Issues should represent **complete and actionable** work items. If you are unsure about something or have a question, please start a [discussion](https://github.com/jbyuki/one-small-step-for-vimkind/discussions/new) instead.
8+
value: |
9+
- Avoid generic or vague titles such as "Something's not working" or "A couple of problems" — be as descriptive as possible.
10+
- Keep your issue focused on one single problem. If you have multiple bug reports, please create a separate issue for each of them.
11+
- Issues should represent **complete and actionable** work items. If you are unsure about something or have a question, please start a [discussion](https://github.com/jbyuki/one-small-step-for-vimkind/discussions/new) instead.
1212
1313
- type: input
1414
id: neovim-version
@@ -49,52 +49,52 @@ body:
4949
local plugins = {
5050
"mfussenegger/nvim-dap",
5151
"jbyuki/one-small-step-for-vimkind",
52-
}
53-
for _, src in ipairs(plugins) do
54-
local path = vim.fs.joinpath(vim.fn.stdpath("data"), src:match("/(.*)"))
55-
src = "https://github.com/" .. src
56-
if vim.fn.isdirectory(path) == 0 then
57-
vim.fn.system { 'git', 'clone', '--depth=1', src, path }
58-
end
59-
vim.opt.runtimepath:append(path)
60-
end
52+
}
53+
for _, src in ipairs(plugins) do
54+
local path = vim.fs.joinpath(vim.fn.stdpath("data"), src:match("/(.*)"))
55+
src = "https://github.com/" .. src
56+
if vim.fn.isdirectory(path) == 0 then
57+
vim.fn.system { 'git', 'clone', '--depth=1', src, path }
58+
end
59+
vim.opt.runtimepath:append(path)
60+
end
6161

62-
-- if init_debug then
63-
-- require "osv".launch({ port = 8086, blocking = true })
64-
-- end
62+
-- if init_debug then
63+
-- require "osv".launch({ port = 8086, blocking = true })
64+
-- end
6565

66-
-- plugins configuration
67-
vim.g.mapleader = " "
68-
vim.cmd("colorscheme retrobox")
69-
vim.api.nvim_set_hl(0, "debugPC", { bg = "#cc241d" })
70-
local dap = require("dap")
71-
dap.configurations.lua = { { type = 'nlua', request = 'attach', name = "osv"} }
72-
dap.adapters.nlua = { type = 'server', host = "127.0.0.1", port = 8086, }
73-
vim.keymap.set('n', '<leader>db', require"dap".toggle_breakpoint, { noremap = true })
74-
vim.keymap.set('n', '<leader>dc', require"dap".continue, { noremap = true })
75-
vim.keymap.set('n', '<leader>do', require"dap".step_over, { noremap = true })
76-
vim.keymap.set('n', '<leader>di', require"dap".step_into, { noremap = true })
66+
-- plugins configuration
67+
vim.g.mapleader = " "
68+
vim.cmd("colorscheme retrobox")
69+
vim.api.nvim_set_hl(0, "debugPC", { bg = "#cc241d" })
70+
local dap = require("dap")
71+
dap.configurations.lua = { { type = 'nlua', request = 'attach', name = "osv"} }
72+
dap.adapters.nlua = { type = 'server', host = "127.0.0.1", port = 8086, }
73+
vim.keymap.set('n', '<leader>db', require"dap".toggle_breakpoint, { noremap = true })
74+
vim.keymap.set('n', '<leader>dc', require"dap".continue, { noremap = true })
75+
vim.keymap.set('n', '<leader>do', require"dap".step_over, { noremap = true })
76+
vim.keymap.set('n', '<leader>di', require"dap".step_into, { noremap = true })
7777

78-
vim.keymap.set('n', '<leader>dl', function()
79-
require"osv".launch({port = 8086})
80-
end, { noremap = true })
81-
```
78+
vim.keymap.set('n', '<leader>dl', function()
79+
require"osv".launch({port = 8086})
80+
end, { noremap = true })
81+
```
8282
83-
3. Create test.lua in home
83+
3. Create test.lua in home
8484
85-
```lua
86-
local sum = 0
87-
for i=1,10 do
88-
sum = sum + i
89-
end
90-
print(("The sum is %d"):format(sum))
91-
```
85+
```lua
86+
local sum = 0
87+
for i=1,10 do
88+
sum = sum + i
89+
end
90+
print(("The sum is %d"):format(sum))
91+
```
9292
93-
3. Launch two neovim instances (A, B)
94-
4. (A) Open `test.lua`, and place a breakpoint on the first line
95-
5. (B) Launch `osv`
96-
6. (A) Connect to (A)
97-
7. (B) Execute `test.lua` with `:luafile test.lua`
93+
3. Launch two neovim instances (A, B)
94+
4. (A) Open `test.lua`, and place a breakpoint on the first line
95+
5. (B) Launch `osv`
96+
6. (A) Connect to (A)
97+
7. (B) Execute `test.lua` with `:luafile test.lua`
9898
validations:
9999
required: true
100100

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Suggest a new feature
33
labels: [ "enhancement" ]
44

55
body:
6-
- type: textarea
6+
- type: textarea
77
validations:
88
required: true
99
attributes:

0 commit comments

Comments
 (0)