summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorJędrzej Boczar <yendreij@gmail.com>2021-04-19 01:16:32 +0200
committerKiyan <yazdani.kiyan@protonmail.com>2021-04-23 21:21:38 +0200
commit17ca7725d2719d3bf0ac6bcb5b9874215cc65c49 (patch)
tree5859edcd98b48e4b30d4151338a361e5ee18d075 /lua
parentdfcefb38952e75c2c191006e890c1dfeb2fd2ae8 (diff)
tests/indent: remove indentexpr fix
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/test_utils.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/lua/nvim-treesitter/test_utils.lua b/lua/nvim-treesitter/test_utils.lua
index ae698d78..a84e0db1 100644
--- a/lua/nvim-treesitter/test_utils.lua
+++ b/lua/nvim-treesitter/test_utils.lua
@@ -79,10 +79,7 @@ function M.run_indent_test(file, runner, opts)
vim.cmd(string.format('edit %s', file))
local before = vim.api.nvim_buf_get_lines(0, 0, -1, true)
- -- FIXME: why this is not set automatically?
- vim.bo.indentexpr = 'nvim_treesitter#indent()'
assert.are.same('nvim_treesitter#indent()', vim.bo.indentexpr)
-
M.set_buf_indent_opts(opts)
-- perform the test