Skip to content

Commit 15b73e1

Browse files
Format source code
1 parent 67f86bc commit 15b73e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/rest-nvim/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ local function get_or_create_buf()
2121
if existing_bufnr ~= -1 then
2222
-- Set modifiable
2323
vim.api.nvim_buf_set_option(existing_bufnr, 'modifiable', true)
24-
-- Prevent modified flag
24+
-- Prevent modified flag
2525
vim.api.nvim_buf_set_option(existing_bufnr, 'buftype', 'nofile')
2626
-- Delete buffer content
2727
vim.api.nvim_buf_set_lines(
@@ -42,7 +42,7 @@ local function get_or_create_buf()
4242
local new_bufnr = vim.api.nvim_create_buf(false, 'nomodeline')
4343
vim.api.nvim_buf_set_name(new_bufnr, tmp_name)
4444
vim.api.nvim_buf_set_option(new_bufnr, 'ft', 'httpResult')
45-
vim.api.nvim_buf_set_option(new_bufnr, 'buftype', 'nofile')
45+
vim.api.nvim_buf_set_option(new_bufnr, 'buftype', 'nofile')
4646

4747
return new_bufnr
4848
end

0 commit comments

Comments
 (0)