diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-02-21 01:47:09 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 18:47:09 +0900 |
| commit | 455f6586bae558f99b51c0b07d46adc736f3822c (patch) | |
| tree | a2f5091bd44cc51794c85dd0d86846bd8398d9f4 /tests/indent/common.lua | |
| parent | highlights(slang): add support for `where` (diff) | |
| download | nvim-treesitter-455f6586bae558f99b51c0b07d46adc736f3822c.tar nvim-treesitter-455f6586bae558f99b51c0b07d46adc736f3822c.tar.gz nvim-treesitter-455f6586bae558f99b51c0b07d46adc736f3822c.tar.bz2 nvim-treesitter-455f6586bae558f99b51c0b07d46adc736f3822c.tar.lz nvim-treesitter-455f6586bae558f99b51c0b07d46adc736f3822c.tar.xz nvim-treesitter-455f6586bae558f99b51c0b07d46adc736f3822c.tar.zst nvim-treesitter-455f6586bae558f99b51c0b07d46adc736f3822c.zip | |
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`
Diffstat (limited to 'tests/indent/common.lua')
| -rw-r--r-- | tests/indent/common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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] |
