From 455f6586bae558f99b51c0b07d46adc736f3822c Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Wed, 21 Feb 2024 01:47:09 -0800 Subject: feat(query): indents that reflect the formatter (#6154) * feat(query): indents that reflect the formatter Indentation queries that reflect the query formatter. Only applicable if `lispoptions=expr:1` --- tests/indent/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/indent/common.lua') diff --git a/tests/indent/common.lua b/tests/indent/common.lua index 451d2f626..1ddd91a40 100644 --- a/tests/indent/common.lua +++ b/tests/indent/common.lua @@ -83,7 +83,7 @@ local function compare_indent(before, after, xfail) end local function set_buf_indent_opts(opts) - local optnames = { "tabstop", "shiftwidth", "softtabstop", "expandtab", "filetype" } + local optnames = { "tabstop", "shiftwidth", "softtabstop", "expandtab", "filetype", "lispoptions" } for _, opt in ipairs(optnames) do if opts[opt] ~= nil then vim.bo[opt] = opts[opt] -- cgit v1.2.3-70-g09d2