Skip to content

Commit 2efedb6

Browse files
committed
Reformat LuaDoc to use tabs for indentation.
1 parent 92c2420 commit 2efedb6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

init.lua

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
-- Install this module by copying it into your *~/.textadept/modules/* directory or Textadept's
66
-- *modules/* directory, and then putting the following in your *~/.textadept/init.lua*:
77
--
8-
-- require('file_diff')
8+
-- require('file_diff')
99
--
1010
-- ### Compiling
1111
--
1212
-- Releases include binaries, so building this modules should not be necessary. If you want
1313
-- to build manually, use CMake. For example:
1414
--
15-
-- cmake -S . -B build_dir
16-
-- cmake --build build_dir --target diff
17-
-- cmake --install build_dir
15+
-- cmake -S . -B build_dir
16+
-- cmake --build build_dir --target diff
17+
-- cmake --install build_dir
1818
--
1919
-- ### Usage
2020
--
@@ -24,10 +24,10 @@
2424
-- 2. The caret is initially placed in the file on the left.
2525
-- 3. Go to the next change via menu or key binding.
2626
-- 4. Merge the change from the other buffer into the current one (right to left) via menu or
27-
-- key binding.
27+
-- key binding.
2828
-- 5. Go to the next change via menu or key binding.
2929
-- 6. Merge the change from the current buffer into the other one (left to right) via menu or
30-
-- key binding.
30+
-- key binding.
3131
-- 7. Repeat as necessary.
3232
--
3333
-- Note: merging can be performed wherever the caret is placed when jumping between changes,
@@ -275,11 +275,11 @@ local starting_diff = false
275275

276276
--- Highlight differences between files *file1* and *file2*, or the user-selected files.
277277
-- @param file1 Optional name of the older file. If `-`, uses the current buffer. If `nil`,
278-
-- the user is prompted for a file.
278+
-- the user is prompted for a file.
279279
-- @param file2 Optional name of the newer file. If `-`, uses the current buffer. If `nil`,
280-
-- the user is prompted for a file.
280+
-- the user is prompted for a file.
281281
-- @param horizontal Optional flag specifying whether or not to split the view horizontally. The
282-
-- default value is `false`, comparing the two files side-by-side.
282+
-- default value is `false`, comparing the two files side-by-side.
283283
function M.start(file1, file2, horizontal)
284284
file1 = file1 or ui.dialogs.open{
285285
title = _L['Select the first file to compare'],
@@ -561,5 +561,5 @@ return M
561561
-- @param text2 String to compare.
562562
-- @return list of differences
563563
-- @usage diffs = diff(text1, text2)
564-
-- for i = 1, #diffs, 2 do print(diffs[i], diffs[i + 1]) end
564+
-- for i = 1, #diffs, 2 do print(diffs[i], diffs[i + 1]) end
565565
-- @function _G.diff

0 commit comments

Comments
 (0)