You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: lua/otter/config.lua
+7-2
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,13 @@ local default_config = {
29
29
-- otter files are deleted on quit or main buffer close
30
30
write_to_disk=false,
31
31
--A table of preambles for each language. The key is the language and the value is a table of strings that will be written to the otter buffer starting on the first line.
32
-
preambles= {
33
-
}
32
+
preambles= {},
33
+
-- A table of patterns to ignore for each language. The key is the language and the value is a lua match pattern to ignore.
---@paramdiagnosticsboolean? Enable diagnostics for otter buffers. Default: true
38
38
---@paramtsquerystring? Explicitly provide a treesitter query. If nil, the injections query for the current filetyepe will be used. See :h treesitter-language-injections.
39
39
---@paramr preamblestable? A table of preambles for each language. The key is the language and the value is a table of strings that will be written to the otter buffer starting on the first line.
---@paramr ignore_patterntable? A table of patterns to ignore for each language. The key is the languang and the value is a regular expression string to match patterns to ignore.
0 commit comments