File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
4848end
You can’t perform that action at this time.
0 commit comments