Skip to content

Commit 355bd44

Browse files
committed
chore: add .editorconfig and autoformat code
1 parent 4512dd7 commit 355bd44

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*.lua]
2+
indent_style = space
3+
indent_size = 2
4+
quote_style = single

lua/refjump/highlight.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ end
1717

1818
---@deprecated Use `enable()` instead
1919
function M.enable_reference_highlights(references, bufnr)
20-
local message = "refjump.nvim: `enable_reference_highlights()` has been renamed to `enable()`"
20+
local message = 'refjump.nvim: `enable_reference_highlights()` has been renamed to `enable()`'
2121
vim.notify(message, vim.log.levels.WARN)
2222
M.enable(references, bufnr)
2323
end
@@ -43,7 +43,7 @@ end
4343

4444
---@deprecated Use `disable()` instead
4545
function M.disable_reference_highlights()
46-
local message = "refjump.nvim: `disable_reference_highlights()` has been renamed to `disable()`"
46+
local message = 'refjump.nvim: `disable_reference_highlights()` has been renamed to `disable()`'
4747
vim.notify(message, vim.log.levels.WARN)
4848
M.disable()
4949
end

0 commit comments

Comments
 (0)