aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-01-04 15:10:19 -0700
committerGregory Anders <greg@gpanders.com>2023-01-07 08:19:37 -0700
commit6ffa434f0b1c6e82fb6c1445d5d7382e0ef22e07 (patch)
tree6f6ab3d711c26a8d91c7bf51ddc16027cec9d7b0 /test/functional/plugin
parent34d1eaa792fa332cea190568967a489e324fca6f (diff)
downloadrneovim-6ffa434f0b1c6e82fb6c1445d5d7382e0ef22e07.tar.gz
rneovim-6ffa434f0b1c6e82fb6c1445d5d7382e0ef22e07.tar.bz2
rneovim-6ffa434f0b1c6e82fb6c1445d5d7382e0ef22e07.zip
refactor(editorconfig)!: change editorconfig_enable to editorconfig
Diffstat (limited to 'test/functional/plugin')
-rw-r--r--test/functional/plugin/editorconfig_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/plugin/editorconfig_spec.lua b/test/functional/plugin/editorconfig_spec.lua
index ad95b9a07e..e6a2550aba 100644
--- a/test/functional/plugin/editorconfig_spec.lua
+++ b/test/functional/plugin/editorconfig_spec.lua
@@ -195,7 +195,7 @@ But not this one
end)
it('can be disabled globally', function()
- meths.set_var('editorconfig_enable', false)
+ meths.set_var('editorconfig', false)
meths.set_option_value('shiftwidth', 42, {})
test_case('3_space.txt', { shiftwidth = 42 })
end)
@@ -203,7 +203,7 @@ But not this one
it('can be disabled per-buffer', function()
meths.set_option_value('shiftwidth', 42, {})
local bufnr = funcs.bufadd(testdir .. pathsep .. '3_space.txt')
- meths.buf_set_var(bufnr, 'editorconfig_enable', false)
+ meths.buf_set_var(bufnr, 'editorconfig', false)
test_case('3_space.txt', { shiftwidth = 42 })
test_case('4_space.py', { shiftwidth = 4 })
end)